Skip navigation links
B C D E F G I J L M P R S T U V W 

B

BasicEJBTestCaseAdapter - Class in com.mockrunner.ejb
Delegator for EJBTestModule.
BasicEJBTestCaseAdapter() - Constructor for class com.mockrunner.ejb.BasicEJBTestCaseAdapter
 
BasicEJBTestCaseAdapter(String) - Constructor for class com.mockrunner.ejb.BasicEJBTestCaseAdapter
 
begin() - Method in class com.mockrunner.mock.ejb.MockUserTransaction
Starts the transaction.
beginTransaction() - Method in class com.mockrunner.example.ejb.DBStatefulBean
 
beginTransaction() - Method in interface com.mockrunner.example.ejb.interfaces.DBStateful
 
BillEntity - Interface in com.mockrunner.example.ejb.interfaces
Remote interface for BillEntity.
BillEntityBean - Class in com.mockrunner.example.ejb
This CMP entity bean represents a bill.
BillEntityBean() - Constructor for class com.mockrunner.example.ejb.BillEntityBean
 
BillEntityHome - Interface in com.mockrunner.example.ejb.interfaces
Home interface for BillEntity.
BillManagerSession - Interface in com.mockrunner.example.ejb.interfaces
Remote interface for BillManagerSession.
BillManagerSessionBean - Class in com.mockrunner.example.ejb
This simple EJB finds all BillEntityBean objects which are not paid and marks them as paid.
BillManagerSessionBean() - Constructor for class com.mockrunner.example.ejb.BillManagerSessionBean
 
BillManagerSessionHome - Interface in com.mockrunner.example.ejb.interfaces
Home interface for BillManagerSession.
bindToContext(String, Object) - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
bindToContext(String, Object) - Method in class com.mockrunner.ejb.EJBTestModule
Adds an object to the mock context by calling rebind
bindUserTransaction(Configuration, Context, UserTransaction) - Static method in class com.mockrunner.ejb.JNDIUtil
Binds the specified UserTransaction to the specified JNDI context.

C

com.mockrunner.ejb - package com.mockrunner.ejb
 
com.mockrunner.example.ejb - package com.mockrunner.example.ejb
 
com.mockrunner.example.ejb.interfaces - package com.mockrunner.example.ejb.interfaces
 
com.mockrunner.mock.ejb - package com.mockrunner.mock.ejb
 
commit() - Method in class com.mockrunner.mock.ejb.MockUserTransaction
Commits the transaction.
COMP_NAME - Static variable in interface com.mockrunner.example.ejb.interfaces.BillEntityHome
 
COMP_NAME - Static variable in interface com.mockrunner.example.ejb.interfaces.BillManagerSessionHome
 
COMP_NAME - Static variable in interface com.mockrunner.example.ejb.interfaces.DBStatefulHome
 
COMP_NAME - Static variable in interface com.mockrunner.example.ejb.interfaces.LogSessionHome
 
COMP_NAME - Static variable in interface com.mockrunner.example.ejb.interfaces.PaySessionHome
 
COMP_NAME - Static variable in interface com.mockrunner.example.ejb.interfaces.UserEntityHome
 
COMP_NAME - Static variable in interface com.mockrunner.example.ejb.interfaces.UserLoginSessionHome
 
Configuration - Class in com.mockrunner.ejb
Global configuration options regarding EJB and JNDI.
Configuration() - Constructor for class com.mockrunner.ejb.Configuration
 
Configuration(String) - Constructor for class com.mockrunner.ejb.Configuration
 
Configuration(String, boolean) - Constructor for class com.mockrunner.ejb.Configuration
 
create(Integer) - Method in interface com.mockrunner.example.ejb.interfaces.BillEntityHome
 
create() - Method in interface com.mockrunner.example.ejb.interfaces.BillManagerSessionHome
 
create() - Method in interface com.mockrunner.example.ejb.interfaces.DBStatefulHome
 
create() - Method in interface com.mockrunner.example.ejb.interfaces.LogSessionHome
 
create() - Method in interface com.mockrunner.example.ejb.interfaces.PaySessionHome
 
create(String, String) - Method in interface com.mockrunner.example.ejb.interfaces.UserEntityHome
 
create() - Method in interface com.mockrunner.example.ejb.interfaces.UserLoginSessionHome
 
createBean(String) - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
createBean(String, String, Object[]) - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
createBean(String, String, Object[], Class[]) - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
createBean(String, Object[]) - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
createBean(String) - Method in class com.mockrunner.ejb.EJBTestModule
Create an EJB.
createBean(String, Object[]) - Method in class com.mockrunner.ejb.EJBTestModule
Create an EJB.
createBean(String, String, Object[]) - Method in class com.mockrunner.ejb.EJBTestModule
Create an EJB.
createBean(String, String, Object[], Class[]) - Method in class com.mockrunner.ejb.EJBTestModule
Create an EJB.
createEJBMockObjectFactory() - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
createEJBTestModule() - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
Creates a EJBTestModule based on the current EJBMockObjectFactory.
createEJBTestModule(EJBMockObjectFactory) - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
Creates a EJBTestModule with the specified EJBMockObjectFactory.
createEntityBean(String, String, Object[], Class[], Object) - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
createEntityBean(String, String, Object[], Object) - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
createEntityBean(String, Object) - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
createEntityBean(String, Object[], Object) - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
createEntityBean(String, Object) - Method in class com.mockrunner.ejb.EJBTestModule
Create an entity EJB.
createEntityBean(String, Object[], Object) - Method in class com.mockrunner.ejb.EJBTestModule
Create an entity EJB.
createEntityBean(String, String, Object[], Object) - Method in class com.mockrunner.ejb.EJBTestModule
Create an entity EJB.
createEntityBean(String, String, Object[], Class[], Object) - Method in class com.mockrunner.ejb.EJBTestModule
Create an entity EJB.
createLogTable() - Method in interface com.mockrunner.example.ejb.interfaces.LogSession
 
createLogTable() - Method in class com.mockrunner.example.ejb.LogSessionBean
Creates the database logtable
createMockUserTransaction() - Method in class com.mockrunner.mock.ejb.EJBMockObjectFactory
Creates the MockUserTransaction using new.
createUser(String, String) - Method in interface com.mockrunner.example.ejb.interfaces.UserLoginSession
 
createUser(String, String) - Method in class com.mockrunner.example.ejb.UserLoginSessionBean
 

D

DBStateful - Interface in com.mockrunner.example.ejb.interfaces
Remote interface for DBStateful.
DBStatefulBean - Class in com.mockrunner.example.ejb
A simple BMT stateful session bean with a method that executes an SQL statement.
DBStatefulBean() - Constructor for class com.mockrunner.example.ejb.DBStatefulBean
 
DBStatefulHome - Interface in com.mockrunner.example.ejb.interfaces
Home interface for DBStateful.
deploy(BasicEjbDescriptor) - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
deploy(BasicEjbDescriptor, TransactionPolicy) - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
deploy(BasicEjbDescriptor) - Method in class com.mockrunner.ejb.EJBTestModule
Deploys a bean to the mock container using the specified descriptor.
deploy(BasicEjbDescriptor, TransactionPolicy) - Method in class com.mockrunner.ejb.EJBTestModule
Deploys a bean to the mock container using the specified descriptor.
deployEntityBean(String, Class, TransactionPolicy) - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
deployEntityBean(String, Class) - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
deployEntityBean(String, Class) - Method in class com.mockrunner.ejb.EJBTestModule
Deploys an entity bean to the mock container.
deployEntityBean(String, Class, TransactionPolicy) - Method in class com.mockrunner.ejb.EJBTestModule
Deploys an entity bean to the mock container.
deployMessageBean(String, String, ConnectionFactory, Destination, Object, TransactionPolicy) - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
deployMessageBean(String, String, ConnectionFactory, Destination, Object) - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
deployMessageBean(String, String, ConnectionFactory, Destination, Object) - Method in class com.mockrunner.ejb.EJBTestModule
Deploys a message driven bean to the mock container.
deployMessageBean(String, String, ConnectionFactory, Destination, Object, TransactionPolicy) - Method in class com.mockrunner.ejb.EJBTestModule
Deploys a message driven bean to the mock container.
deploySessionBean(String, Class, TransactionPolicy) - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
deploySessionBean(String, Class) - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
deploySessionBean(String, Class, boolean) - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
deploySessionBean(String, Object, TransactionPolicy) - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
deploySessionBean(String, Class, boolean, TransactionPolicy) - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
deploySessionBean(String, Object) - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
deploySessionBean(String, Object, boolean) - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
deploySessionBean(String, Object, boolean, TransactionPolicy) - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
deploySessionBean(String, Class) - Method in class com.mockrunner.ejb.EJBTestModule
Deploys a stateless session bean to the mock container.
deploySessionBean(String, Class, boolean) - Method in class com.mockrunner.ejb.EJBTestModule
Deploys a session bean to the mock container.
deploySessionBean(String, Class, TransactionPolicy) - Method in class com.mockrunner.ejb.EJBTestModule
Deploys a stateless session bean to the mock container.
deploySessionBean(String, Class, boolean, TransactionPolicy) - Method in class com.mockrunner.ejb.EJBTestModule
Deploys a session bean to the mock container.
deploySessionBean(String, Object) - Method in class com.mockrunner.ejb.EJBTestModule
Deploys a stateless session bean to the mock container.
deploySessionBean(String, Object, boolean) - Method in class com.mockrunner.ejb.EJBTestModule
Deploys a session bean to the mock container.
deploySessionBean(String, Object, TransactionPolicy) - Method in class com.mockrunner.ejb.EJBTestModule
Deploys a stateless session bean to the mock container.
deploySessionBean(String, Object, boolean, TransactionPolicy) - Method in class com.mockrunner.ejb.EJBTestModule
Deploys a session bean to the mock container.

E

ejbActivate() - Method in class com.mockrunner.example.ejb.BillEntityBean
 
ejbActivate() - Method in class com.mockrunner.example.ejb.BillManagerSessionBean
 
ejbActivate() - Method in class com.mockrunner.example.ejb.DBStatefulBean
 
ejbActivate() - Method in class com.mockrunner.example.ejb.LogSessionBean
 
ejbActivate() - Method in class com.mockrunner.example.ejb.PaySessionBean
 
ejbActivate() - Method in class com.mockrunner.example.ejb.UserEntityBean
 
ejbActivate() - Method in class com.mockrunner.example.ejb.UserLoginSessionBean
 
ejbCreate(Integer) - Method in class com.mockrunner.example.ejb.BillEntityBean
 
ejbCreate() - Method in class com.mockrunner.example.ejb.BillManagerSessionBean
 
ejbCreate() - Method in class com.mockrunner.example.ejb.DBStatefulBean
 
ejbCreate() - Method in class com.mockrunner.example.ejb.LogSessionBean
 
ejbCreate() - Method in class com.mockrunner.example.ejb.PaySessionBean
 
ejbCreate(String, String) - Method in class com.mockrunner.example.ejb.UserEntityBean
 
ejbCreate() - Method in class com.mockrunner.example.ejb.UserLoginSessionBean
 
ejbFindAll() - Method in class com.mockrunner.example.ejb.UserEntityBean
 
ejbFindByPrimaryKey(String) - Method in class com.mockrunner.example.ejb.UserEntityBean
 
ejbLoad() - Method in class com.mockrunner.example.ejb.BillEntityBean
 
ejbLoad() - Method in class com.mockrunner.example.ejb.UserEntityBean
 
EJBMockObjectFactory - Class in com.mockrunner.mock.ejb
Used to create all types of EJB mock objects.
EJBMockObjectFactory() - Constructor for class com.mockrunner.mock.ejb.EJBMockObjectFactory
Creates a new set of mock objects.
EJBMockObjectFactory(Configuration) - Constructor for class com.mockrunner.mock.ejb.EJBMockObjectFactory
Creates a new set of mock objects based on the specified configuration.
ejbPassivate() - Method in class com.mockrunner.example.ejb.BillEntityBean
 
ejbPassivate() - Method in class com.mockrunner.example.ejb.BillManagerSessionBean
 
ejbPassivate() - Method in class com.mockrunner.example.ejb.DBStatefulBean
 
ejbPassivate() - Method in class com.mockrunner.example.ejb.LogSessionBean
 
ejbPassivate() - Method in class com.mockrunner.example.ejb.PaySessionBean
 
ejbPassivate() - Method in class com.mockrunner.example.ejb.UserEntityBean
 
ejbPassivate() - Method in class com.mockrunner.example.ejb.UserLoginSessionBean
 
ejbPostCreate(Integer) - Method in class com.mockrunner.example.ejb.BillEntityBean
 
ejbPostCreate(String, String) - Method in class com.mockrunner.example.ejb.UserEntityBean
 
ejbRemove() - Method in class com.mockrunner.example.ejb.BillEntityBean
 
ejbRemove() - Method in class com.mockrunner.example.ejb.BillManagerSessionBean
 
ejbRemove() - Method in class com.mockrunner.example.ejb.DBStatefulBean
 
ejbRemove() - Method in class com.mockrunner.example.ejb.LogSessionBean
 
ejbRemove() - Method in class com.mockrunner.example.ejb.PaySessionBean
 
ejbRemove() - Method in class com.mockrunner.example.ejb.UserEntityBean
 
ejbRemove() - Method in class com.mockrunner.example.ejb.UserLoginSessionBean
 
ejbStore() - Method in class com.mockrunner.example.ejb.BillEntityBean
 
ejbStore() - Method in class com.mockrunner.example.ejb.UserEntityBean
 
EJBTestModule - Class in com.mockrunner.ejb
Module for EJB tests.
EJBTestModule(EJBMockObjectFactory) - Constructor for class com.mockrunner.ejb.EJBTestModule
 
endTransaction(boolean) - Method in class com.mockrunner.example.ejb.DBStatefulBean
 
endTransaction(boolean) - Method in interface com.mockrunner.example.ejb.interfaces.DBStateful
 
entityContext - Variable in class com.mockrunner.example.ejb.BillEntityBean
 
executeSQL(String) - Method in class com.mockrunner.example.ejb.DBStatefulBean
 
executeSQL(String) - Method in interface com.mockrunner.example.ejb.interfaces.DBStateful
 

F

findAll() - Method in interface com.mockrunner.example.ejb.interfaces.BillEntityHome
 
findAll() - Method in interface com.mockrunner.example.ejb.interfaces.UserEntityHome
 
findByPrimaryKey(String, Object) - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
findByPrimaryKey(String, Object) - Method in class com.mockrunner.ejb.EJBTestModule
Finds an entity EJB by its primary key.
findByPrimaryKey(Integer) - Method in interface com.mockrunner.example.ejb.interfaces.BillEntityHome
 
findByPrimaryKey(String) - Method in interface com.mockrunner.example.ejb.interfaces.UserEntityHome
 
findUnpaid() - Method in interface com.mockrunner.example.ejb.interfaces.BillEntityHome
 

G

getBindMockUserTransactionToJNDI() - Method in class com.mockrunner.ejb.Configuration
Get if the mock transaction should be bound to JNDI.
getCode() - Method in exception com.mockrunner.example.ejb.PaySessionException
 
getContext() - Method in class com.mockrunner.ejb.Configuration
Get the JNDI context.
getContext(Configuration) - Static method in class com.mockrunner.ejb.JNDIUtil
Tries to get the JNDI context from the specified configuration.
getContext() - Method in class com.mockrunner.mock.ejb.EJBMockObjectFactory
Returns the JNDI context that is used by this factory.
getDate() - Method in class com.mockrunner.example.ejb.BillEntityBean
 
getDate() - Method in interface com.mockrunner.example.ejb.interfaces.BillEntity
 
getEJBMockObjectFactory() - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
getEJBTestModule() - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
Gets the EJBTestModule.
getId() - Method in class com.mockrunner.example.ejb.BillEntityBean
 
getId() - Method in interface com.mockrunner.example.ejb.interfaces.BillEntity
 
getMockContainer() - Method in class com.mockrunner.mock.ejb.EJBMockObjectFactory
Returns the MockEJB MockContainer.
getMockUserTransaction() - Method in class com.mockrunner.mock.ejb.EJBMockObjectFactory
Returns the MockUserTransaction.
getNumberBeginCalls() - Method in class com.mockrunner.mock.ejb.MockUserTransaction
Returns the number of overall MockUserTransaction.begin() calls.
getNumberCommitCalls() - Method in class com.mockrunner.mock.ejb.MockUserTransaction
Returns the number of overall MockUserTransaction.commit() calls.
getNumberRollbackCalls() - Method in class com.mockrunner.mock.ejb.MockUserTransaction
Returns the number of overall MockUserTransaction.rollback() calls.
getNumberRollbackOnlyCalls() - Method in class com.mockrunner.mock.ejb.MockUserTransaction
Returns the number of overall MockUserTransaction.setRollbackOnly() calls.
getPaid() - Method in class com.mockrunner.example.ejb.BillEntityBean
 
getPaid() - Method in interface com.mockrunner.example.ejb.interfaces.BillEntity
 
getPassword() - Method in interface com.mockrunner.example.ejb.interfaces.UserEntity
 
getPassword() - Method in class com.mockrunner.example.ejb.UserEntityBean
 
getStatus() - Method in class com.mockrunner.mock.ejb.MockUserTransaction
Returns the status of this transaction.
getTransactionTimeout() - Method in class com.mockrunner.mock.ejb.MockUserTransaction
Returns the transaction timeout.
getUsername() - Method in interface com.mockrunner.example.ejb.interfaces.UserEntity
 
getUsername() - Method in class com.mockrunner.example.ejb.UserEntityBean
 
getUserTransaction() - Method in class com.mockrunner.mock.ejb.EJBMockObjectFactory
Returns the UserTransaction.
getUserTransactionJNDIName() - Method in class com.mockrunner.ejb.Configuration
Get the JNDI name for the user transaction.

I

initMockContextFactory() - Static method in class com.mockrunner.ejb.JNDIUtil
Calls MockContextFactory.setAsInitial(), if the MockContextFactory is not already the current context factory.
initMockContextFactory() - Method in class com.mockrunner.mock.ejb.EJBMockObjectFactory
Calls MockContextFactory.setAsInitial(), if MockContextFactory is not already the current context factory.

J

JNDI_NAME - Static variable in interface com.mockrunner.example.ejb.interfaces.BillEntityHome
 
JNDI_NAME - Static variable in interface com.mockrunner.example.ejb.interfaces.BillManagerSessionHome
 
JNDI_NAME - Static variable in interface com.mockrunner.example.ejb.interfaces.DBStatefulHome
 
JNDI_NAME - Static variable in interface com.mockrunner.example.ejb.interfaces.LogSessionHome
 
JNDI_NAME - Static variable in interface com.mockrunner.example.ejb.interfaces.PaySessionHome
 
JNDI_NAME - Static variable in interface com.mockrunner.example.ejb.interfaces.UserEntityHome
 
JNDI_NAME - Static variable in interface com.mockrunner.example.ejb.interfaces.UserLoginSessionHome
 
JNDIUtil - Class in com.mockrunner.ejb
Util class for creating and managing the JNDI context
JNDIUtil() - Constructor for class com.mockrunner.ejb.JNDIUtil
 

L

loginUser(String, String) - Method in interface com.mockrunner.example.ejb.interfaces.UserLoginSession
 
loginUser(String, String) - Method in class com.mockrunner.example.ejb.UserLoginSessionBean
 
logMessage(String) - Method in interface com.mockrunner.example.ejb.interfaces.LogSession
 
logMessage(String) - Method in class com.mockrunner.example.ejb.LogSessionBean
Writes the specified message into the logtable along with the timestamp and the current thread name.
LogSession - Interface in com.mockrunner.example.ejb.interfaces
Remote interface for PrintSession.
LogSessionBean - Class in com.mockrunner.example.ejb
This simple example EJB can be used to write log messages to a database.
LogSessionBean() - Constructor for class com.mockrunner.example.ejb.LogSessionBean
 
LogSessionHome - Interface in com.mockrunner.example.ejb.interfaces
Home interface for LogSession.
lookup(String) - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
lookup(String) - Method in class com.mockrunner.ejb.EJBTestModule
Lookup an object.
lookupBean(String) - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
Deprecated. 
lookupBean(String, String, Object[]) - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
Deprecated. 
lookupBean(String, Object[]) - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
Deprecated. 
lookupBean(String) - Method in class com.mockrunner.ejb.EJBTestModule
lookupBean(String, Object[]) - Method in class com.mockrunner.ejb.EJBTestModule
lookupBean(String, String, Object[]) - Method in class com.mockrunner.ejb.EJBTestModule

M

markAsPaid() - Method in class com.mockrunner.example.ejb.BillManagerSessionBean
 
markAsPaid() - Method in interface com.mockrunner.example.ejb.interfaces.BillManagerSession
 
MockUserTransaction - Class in com.mockrunner.mock.ejb
Mock implementation of UserTransaction.
MockUserTransaction() - Constructor for class com.mockrunner.mock.ejb.MockUserTransaction
 

P

payBill(String, String, double) - Method in interface com.mockrunner.example.ejb.interfaces.PaySession
 
payBill(String, String, double) - Method in class com.mockrunner.example.ejb.PaySessionBean
 
PaySession - Interface in com.mockrunner.example.ejb.interfaces
Remote interface for PaySession.
PaySessionBean - Class in com.mockrunner.example.ejb
This is the EJB-version of com.mockrunner.example.jdbc.PayAction.
PaySessionBean() - Constructor for class com.mockrunner.example.ejb.PaySessionBean
 
PaySessionException - Exception in com.mockrunner.example.ejb
Exception class for PaySessionBean.
PaySessionException(int) - Constructor for exception com.mockrunner.example.ejb.PaySessionException
 
PaySessionHome - Interface in com.mockrunner.example.ejb.interfaces
Home interface for PaySession.

R

reset() - Method in class com.mockrunner.mock.ejb.MockUserTransaction
Resets the state, i.e.
resetMockContextFactory() - Static method in class com.mockrunner.ejb.JNDIUtil
Calls MockContextFactory.revertSetAsInitial(), if the MockContextFactory is the current context factory.
resetMockContextFactory() - Method in class com.mockrunner.mock.ejb.EJBMockObjectFactory
Calls MockContextFactory.revertSetAsInitial(), if MockContextFactory is the current context factory.
resetUserTransaction() - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
resetUserTransaction() - Method in class com.mockrunner.ejb.EJBTestModule
rollback() - Method in class com.mockrunner.mock.ejb.MockUserTransaction
Rolls back the transaction.

S

setBindMockUserTransactionToJNDI(boolean) - Method in class com.mockrunner.ejb.Configuration
Set if the mock transaction should be bound to JNDI.
setBusinessInterfacePackage(String) - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
setBusinessInterfacePackage(String) - Method in class com.mockrunner.ejb.EJBTestModule
Sets the package for the bean remote (local respectively) interface.
setBusinessInterfaceSuffix(String) - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
setBusinessInterfaceSuffix(String) - Method in class com.mockrunner.ejb.EJBTestModule
Sets the suffix of the remote (local respectively) interface.
setContext(Context) - Method in class com.mockrunner.ejb.Configuration
Set the JNDI context used by EJBMockObjectFactory.
setDate(Date) - Method in class com.mockrunner.example.ejb.BillEntityBean
 
setDate(Date) - Method in interface com.mockrunner.example.ejb.interfaces.BillEntity
 
setEJBMockObjectFactory(EJBMockObjectFactory) - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
setEJBTestModule(EJBTestModule) - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
Sets the EJBTestModule.
setEntityContext(EntityContext) - Method in class com.mockrunner.example.ejb.BillEntityBean
 
setEntityContext(EntityContext) - Method in class com.mockrunner.example.ejb.UserEntityBean
 
setHomeInterfacePackage(String) - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
setHomeInterfacePackage(String) - Method in class com.mockrunner.ejb.EJBTestModule
Sets the package for the bean home (local home respectively) interface.
setHomeInterfaceSuffix(String) - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
setHomeInterfaceSuffix(String) - Method in class com.mockrunner.ejb.EJBTestModule
Sets the suffix of the home (local home respectively) interface.
setId(Integer) - Method in class com.mockrunner.example.ejb.BillEntityBean
 
setImplementationSuffix(String) - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
setImplementationSuffix(String) - Method in class com.mockrunner.ejb.EJBTestModule
Sets the suffix of the bean implementation class.
setInterfacePackage(String) - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
setInterfacePackage(String) - Method in class com.mockrunner.ejb.EJBTestModule
Sets the package for the bean home and remote interfaces.
setPaid(boolean) - Method in class com.mockrunner.example.ejb.BillEntityBean
 
setPaid(boolean) - Method in interface com.mockrunner.example.ejb.interfaces.BillEntity
 
setPassword(String) - Method in interface com.mockrunner.example.ejb.interfaces.UserEntity
 
setPassword(String) - Method in class com.mockrunner.example.ejb.UserEntityBean
 
setRollbackOnly() - Method in class com.mockrunner.mock.ejb.MockUserTransaction
Sets the rollback only flag.
setSessionContext(SessionContext) - Method in class com.mockrunner.example.ejb.BillManagerSessionBean
 
setSessionContext(SessionContext) - Method in class com.mockrunner.example.ejb.DBStatefulBean
 
setSessionContext(SessionContext) - Method in class com.mockrunner.example.ejb.LogSessionBean
 
setSessionContext(SessionContext) - Method in class com.mockrunner.example.ejb.PaySessionBean
 
setSessionContext(SessionContext) - Method in class com.mockrunner.example.ejb.UserLoginSessionBean
 
setTransactionTimeout(int) - Method in class com.mockrunner.mock.ejb.MockUserTransaction
Sets the transaction timeout.
setUp() - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
Creates the EJBTestModule.
setUsername(String) - Method in class com.mockrunner.example.ejb.UserEntityBean
 
setUserTransactionJNDIName(String) - Method in class com.mockrunner.ejb.Configuration
Set the JNDI name for the user transaction.

T

tearDown() - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
 

U

UNKNOWN - Static variable in exception com.mockrunner.example.ejb.PaySessionException
 
UNKNOWN_BILL - Static variable in exception com.mockrunner.example.ejb.PaySessionException
 
UNKNOWN_CUSTOMER - Static variable in exception com.mockrunner.example.ejb.PaySessionException
 
unsetEntityContext() - Method in class com.mockrunner.example.ejb.BillEntityBean
 
unsetEntityContext() - Method in class com.mockrunner.example.ejb.UserEntityBean
 
UserEntity - Interface in com.mockrunner.example.ejb.interfaces
Remote interface for UserEntity.
UserEntityBean - Class in com.mockrunner.example.ejb
Implementation of a BMP entity bean representing a user with a username and a password.
UserEntityBean() - Constructor for class com.mockrunner.example.ejb.UserEntityBean
 
UserEntityHome - Interface in com.mockrunner.example.ejb.interfaces
Home interface for UserEntity.
UserLoginSession - Interface in com.mockrunner.example.ejb.interfaces
Remote interface for UserLoginSession.
UserLoginSessionBean - Class in com.mockrunner.example.ejb
Facade session bean for UserEntityBean.
UserLoginSessionBean() - Constructor for class com.mockrunner.example.ejb.UserLoginSessionBean
 
UserLoginSessionHome - Interface in com.mockrunner.example.ejb.interfaces
Home interface for UserLoginSession.

V

verifyCommitted() - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
verifyCommitted() - Method in class com.mockrunner.ejb.EJBTestModule
Verifies that the transaction was committed.
verifyMarkedForRollback() - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
verifyMarkedForRollback() - Method in class com.mockrunner.ejb.EJBTestModule
Verifies that the transaction was marked for rollback using the method setRollbackOnly().
verifyNotCommitted() - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
verifyNotCommitted() - Method in class com.mockrunner.ejb.EJBTestModule
Verifies that the transaction was not committed.
verifyNotMarkedForRollback() - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
verifyNotMarkedForRollback() - Method in class com.mockrunner.ejb.EJBTestModule
Verifies that the transaction was not marked for rollback.
verifyNotRolledBack() - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
verifyNotRolledBack() - Method in class com.mockrunner.ejb.EJBTestModule
Verifies that the transaction was not rolled back.
verifyRolledBack() - Method in class com.mockrunner.ejb.BasicEJBTestCaseAdapter
verifyRolledBack() - Method in class com.mockrunner.ejb.EJBTestModule
Verifies that the transaction was rolled back.

W

wasBeginCalled() - Method in class com.mockrunner.mock.ejb.MockUserTransaction
Returns if MockUserTransaction.begin() was called.
wasCommitCalled() - Method in class com.mockrunner.mock.ejb.MockUserTransaction
Returns if MockUserTransaction.commit() was called.
wasRollbackCalled() - Method in class com.mockrunner.mock.ejb.MockUserTransaction
Returns if MockUserTransaction.rollback() was called.
wasRollbackOnlyCalled() - Method in class com.mockrunner.mock.ejb.MockUserTransaction
WRONG_AMOUNT_FOR_BILL - Static variable in exception com.mockrunner.example.ejb.PaySessionException
 
WRONG_BILL_FOR_CUSTOMER - Static variable in exception com.mockrunner.example.ejb.PaySessionException
 
B C D E F G I J L M P R S T U V W 
Skip navigation links

Copyright © 2003-2018. All Rights Reserved.