|
|||||||||||
PREV NEXT | FRAMES NO FRAMES All Classes |
AspectException
.
BytesMessage
implementation.BytesMessage
BytesMessage
and copies its header, properties and
body from msg
The state of msg
is not changed.
bind(Name, Object) -
Method in class org.mockejb.jndi.MockContext
Binds object obj
to name name
in this context.
bind(String, Object) -
Method in class org.mockejb.jndi.MockContext
Binds object obj
to name name
in this context.
C
- CMPFindByPrimaryKeyHandler - class org.mockejb.CMPFindByPrimaryKeyHandler.
- Handles calls to findByPrimaryKey for CMP beans.
- CMPFindByPrimaryKeyHandler(EntityDatabase) -
Constructor for class org.mockejb.CMPFindByPrimaryKeyHandler
-
- ClassPatternPointcut - class org.mockejb.interceptor.ClassPatternPointcut.
- Tests if the class name of the provided method matches the regexp.
- ClassPatternPointcut(String) -
Constructor for class org.mockejb.interceptor.ClassPatternPointcut
- Creates a new instance of ClassPatternPoincut
- ClassPointcut - class org.mockejb.interceptor.ClassPointcut.
- Tests if the given class matches the class
provided to the constructor of ClassPointcut.
- ClassPointcut(Class) -
Constructor for class org.mockejb.interceptor.ClassPointcut
- Creates a new instance of ClassPoincut
It will not match subclasses.
- ClassPointcut(Class, boolean) -
Constructor for class org.mockejb.interceptor.ClassPointcut
- Creates a new instance of ClassPoincut
- clear() -
Method in interface org.mockejb.EntityDatabase
-
- clear() -
Method in interface org.mockejb.interceptor.AspectSystem
- Clears the aspect list
- clear() -
Method in class org.mockejb.interceptor.AspectSystemImpl
- Clears the list of aspects for this AspectSystem
- clear() -
Method in class org.mockejb.interceptor.InvocationContext
- Clears the context properties and resets the interceptor iterator.
- clear() -
Method in class org.mockejb.interceptor.InvocationRecorder
- Clears all currently stored invocations
- clearBody() -
Method in class org.mockejb.jms.BytesMessageImpl
-
- clearBody() -
Method in class org.mockejb.jms.MessageImpl
-
- clearBody() -
Method in class org.mockejb.jms.ObjectMessageImpl
-
- clearBody() -
Method in class org.mockejb.jms.StreamMessageImpl
-
- clearBody() -
Method in class org.mockejb.jms.TextMessageImpl
-
- clearProperties() -
Method in class org.mockejb.jms.MessageImpl
-
- close() -
Method in class org.mockejb.jms.MockConsumer
-
- close() -
Method in class org.mockejb.jndi.MockContext
- Does nothing.
- compare(String, String) -
Static method in class org.mockejb.jms.MessageUtility
- Compares two strings.
- compare(byte[], byte[]) -
Static method in class org.mockejb.jms.MessageUtility
- Compares two byte arrays.
- compare(Message, Message) -
Static method in class org.mockejb.jms.MessageUtility
- Compares two messages.
- compare(BytesMessage, BytesMessage) -
Static method in class org.mockejb.jms.MessageUtility
- Compares two bytes messages.
- compare(MapMessage, MapMessage) -
Static method in class org.mockejb.jms.MessageUtility
- Compares two map messages.
- compare(ObjectMessage, ObjectMessage) -
Static method in class org.mockejb.jms.MessageUtility
- Compares two object messages.
- compare(StreamMessage, StreamMessage) -
Static method in class org.mockejb.jms.MessageUtility
- Compares two stream messages.
- compare(TextMessage, TextMessage) -
Static method in class org.mockejb.jms.MessageUtility
- Compares two text messages.
- composeName(Name, Name) -
Method in class org.mockejb.jndi.MockContext
- Returns composition of
prefix
and name
.
- composeName(String, String) -
Method in class org.mockejb.jndi.MockContext
- Composes the name of this context with a name relative to this context.
- copyMessage(Message, boolean) -
Static method in class org.mockejb.jms.MessageUtility
- Copies header, properties and body of
msg
to a new
message of the same type.
- create() -
Method in class org.mockejb.EntityBeanSubclass
- Creates the subclass of the abstract entity class using CGLIB
enhancer.
- create(Class, Object) -
Static method in class org.mockejb.interceptor.InterceptableProxy
-
- createConnection() -
Method in class org.mockejb.jms.QueueConnectionFactoryImpl
-
- createConnection(String, String) -
Method in class org.mockejb.jms.QueueConnectionFactoryImpl
-
- createConnection() -
Method in class org.mockejb.jms.TopicConnectionFactoryImpl
-
- createConnection(String, String) -
Method in class org.mockejb.jms.TopicConnectionFactoryImpl
-
- createMessageBean(MockEjbObject) -
Method in class org.mockejb.MockContainer
- Deprecated. use deploy instead
- createQueueConnection(String, String) -
Method in class org.mockejb.jms.QueueConnectionFactoryImpl
-
- createQueueConnection() -
Method in class org.mockejb.jms.QueueConnectionFactoryImpl
-
- createSubcontext(Name) -
Method in class org.mockejb.jndi.MockContext
- Creates subcontext with name
name
, relative to this Context.
- createSubcontext(String) -
Method in class org.mockejb.jndi.MockContext
- Creates subcontext with name
name
, relative to this Context.
- createTopicConnection(String, String) -
Method in class org.mockejb.jms.TopicConnectionFactoryImpl
-
- createTopicConnection() -
Method in class org.mockejb.jms.TopicConnectionFactoryImpl
-
D
- deploy(SessionBeanDescriptor) -
Method in class org.mockejb.MockContainer
- Deploys session bean specified by the given descriptor.
- deploy(EntityBeanDescriptor) -
Method in class org.mockejb.MockContainer
- Deploys entity bean specified by the given descriptor.
- deploy(MDBDescriptor) -
Method in class org.mockejb.MockContainer
- If "isAlreadyBound" is "false" in deployment descriptor,
creates mock connection factory and destination and bind them to JNDI.
- destroySubcontext(Name) -
Method in class org.mockejb.jndi.MockContext
- Destroys subcontext with name
name
The subcontext must be empty otherwise ContextNotEmptyException
is thrown.
- destroySubcontext(String) -
Method in class org.mockejb.jndi.MockContext
- Destroys subcontext with name
name
- dispatch(Message) -
Method in class org.mockejb.jms.MockQueue
-
- dispatch(Message) -
Method in class org.mockejb.jms.MockTopic
-
E
- EjbBeanAccess - interface org.mockejb.EjbBeanAccess.
- Proivides access to the bean (instance of the EJB implementation class) and
its context.
- EjbExceptionHandler - class org.mockejb.EjbExceptionHandler.
- Performs exception logging and chaining according to the
EJB spec.
- EjbExceptionHandler() -
Constructor for class org.mockejb.EjbExceptionHandler
-
- EntityBeanDescriptor - class org.mockejb.EntityBeanDescriptor.
- Contains entity bean-specific data used for EJB deployment.
- EntityBeanDescriptor(String, Class, Class, Class) -
Constructor for class org.mockejb.EntityBeanDescriptor
- Creates a new instance of the descriptor.
- EntityBeanSubclass - class org.mockejb.EntityBeanSubclass.
- Provides mock subclass of the CMP entity abstract class.
- EntityDatabase - interface org.mockejb.EntityDatabase.
- Provides in-memory entity database implementation suitable for
setting up test mock data.
- entityDatabase -
Variable in class org.mockejb.BMPFinderHandler
-
- entityDatabase -
Variable in class org.mockejb.CMPFindByPrimaryKeyHandler
-
- equals(Object) -
Method in class org.mockejb.BMPFinderHandler
- This class does not have state, so all instances of this class
are considered equal
- equals(Object) -
Method in class org.mockejb.CMPFindByPrimaryKeyHandler
- This class does not have state, so all instances of this class
are considered equal
- equals(Object) -
Method in class org.mockejb.EjbExceptionHandler
- This class does not have state, so all instances of this class
are considered equal
- equals(Object) -
Method in class org.mockejb.MockEjbObject
- Tests if this object is equals to the given object.
- equals(Object) -
Method in class org.mockejb.TransactionManager
- Returns true if the given object is of the same type and
it has the same transaction policy.
- equals(Object) -
Method in class org.mockejb.interceptor.ClassPatternPointcut
- Returns true if the given object is of the same type and
it has the same pattern.
- equals(Object) -
Method in class org.mockejb.interceptor.ClassPointcut
- Returns true if the given object is of type ClassPointcut and
it handles the same class and handlesSubclasses flag is set to the
same value
- equals(Object) -
Method in class org.mockejb.interceptor.MethodPatternPointcut
- Returns true if the given object is of the same type and
it has the same pattern.
- equals(Object) -
Method in class org.mockejb.interceptor.PointcutPair
- Returns true if the given object is of the same type and
it has the same pattern.
F
- find(Class, Object) -
Method in interface org.mockejb.EntityDatabase
-
- findByInterceptedMethod(String) -
Method in class org.mockejb.interceptor.InvocationRecorder
- Deprecated. Use findByProxyMethod instead
- findByProxyMethod(String) -
Method in class org.mockejb.interceptor.InvocationRecorder
- Finds the first invocation for a given proxy method pattern.
- findByTargetMethod(String) -
Method in class org.mockejb.interceptor.InvocationRecorder
- Finds the first invocation for a given target method pattern.
- findInCacheOrCreate(EntityBeanDescriptor, MockEjbContext, Object) -
Method in class org.mockejb.BMPFinderHandler
-
- findInterceptors(Method, Method) -
Method in interface org.mockejb.interceptor.AspectSystem
- Identifiesaspects whose pointcut matches the given source method or
target method.
- findInterceptors(Method, Method) -
Method in class org.mockejb.interceptor.AspectSystemImpl
-
G
- GenericHome - interface org.mockejb.GenericHome.
- You can cast any home to this interface and call its create method.
- genericCreate() -
Method in interface org.mockejb.GenericHome
-
- getAspectList() -
Method in interface org.mockejb.interceptor.AspectSystem
- Returns the list of aspects to the client.
- getAspectList() -
Method in class org.mockejb.interceptor.AspectSystemImpl
-
- getAspectSystem() -
Static method in class org.mockejb.interceptor.AspectSystemFactory
- If system property "interceptor.aspect.system.thread" set to true,
returns AspectSystem instance which is stored in
a ThreadLocal variable.
- getBean() -
Method in class org.mockejb.BasicEjbDescriptor
-
- getBean() -
Method in interface org.mockejb.EjbBeanAccess
-
- getBean() -
Method in class org.mockejb.MockEjbObject
-
- getBeanClass() -
Method in class org.mockejb.BasicEjbDescriptor
-
- getBodyLength() -
Method in class org.mockejb.jms.BytesMessageImpl
- Returns body length.
- getBoolean(String) -
Method in class org.mockejb.jms.MapMessageImpl
-
- getBooleanProperty(String) -
Method in class org.mockejb.jms.MessageImpl
-
- getByte(String) -
Method in class org.mockejb.jms.MapMessageImpl
-
- getByteProperty(String) -
Method in class org.mockejb.jms.MessageImpl
-
- getBytes(String) -
Method in class org.mockejb.jms.MapMessageImpl
-
- getCallerIdentity() -
Method in class org.mockejb.MockEjbContext
- This method is not supported
- getCallerPrincipal() -
Method in class org.mockejb.MockEjbContext
- Returns the principal that was logged in using
MockContainer.login.
- getCause() -
Method in class org.mockejb.MockEjbSystemException
- Returns the cause of this throwable or null if the cause is nonexistent
or unknown.
- getCause() -
Method in class org.mockejb.interceptor.AspectException
- Returns the cause of this throwable or null if the cause is nonexistent
or unknown.
- getChar(String) -
Method in class org.mockejb.jms.MapMessageImpl
-
- getConnectionFactoryJndiName() -
Method in class org.mockejb.MDBDescriptor
-
- getContext(String) -
Method in class org.mockejb.interceptor.InterceptorInvoker
- Returns the context associated with the provided key
or null if the key is not found.
- getDestinationJndiName() -
Method in class org.mockejb.MDBDescriptor
-
- getDouble(String) -
Method in class org.mockejb.jms.MapMessageImpl
-
- getDoubleProperty(String) -
Method in class org.mockejb.jms.MessageImpl
-
- getEJBHome() -
Method in class org.mockejb.MockEjbContext
-
- getEJBHome() -
Method in class org.mockejb.MockEjbMetaData
-
- getEJBHome() -
Method in class org.mockejb.MockEjbObject
- Obtains the enterprise Bean's home interface.
- getEJBLocalHome() -
Method in class org.mockejb.MockEjbContext
-
- getEJBLocalHome() -
Method in class org.mockejb.MockEjbObject
- Obtains the enterprise Bean's local home interface.
- getEJBLocalObject() -
Method in class org.mockejb.MockEjbContext
- Obtains a reference to the EJB local object that is currently associated with the instance.
- getEJBObject() -
Method in class org.mockejb.MockEjbContext
- Obtains a reference to the EJB object that is currently associated with the instance.
- getEjbContext() -
Method in interface org.mockejb.EjbBeanAccess
- Returns MockEjbContext of the bean.
- getEjbContext() -
Method in class org.mockejb.MockEjbObject
- Returns
MockEjbContext
object for the bean backed by this
MockEjbObject.
- getEntityDatabase() -
Method in class org.mockejb.MockContainer
- Returns an instance of the EntityDatabase that will be used by the
system interceptors (Finder Handlers) used by this instance of the container.
- getEnvironment() -
Method in class org.mockejb.MockEjbContext
- Always returns empty Properties object.
- getEnvironment() -
Method in class org.mockejb.jndi.MockContext
- Not implemented
- getFloat(String) -
Method in class org.mockejb.jms.MapMessageImpl
-
- getFloatProperty(String) -
Method in class org.mockejb.jms.MessageImpl
-
- getHandle() -
Method in class org.mockejb.MockEjbObject
- This method is not supported.
- getHomeClass() -
Method in class org.mockejb.BasicEjbDescriptor
-
- getHomeInterfaceClass() -
Method in class org.mockejb.MockEjbMetaData
-
- getIfaceClass() -
Method in class org.mockejb.BasicEjbDescriptor
-
- getInitialContext(Hashtable) -
Method in class org.mockejb.jndi.MockContextFactory
- Singleton for initial context.
- getInt(String) -
Method in class org.mockejb.jms.MapMessageImpl
-
- getIntProperty(String) -
Method in class org.mockejb.jms.MessageImpl
-
- getInterceptedMethod() -
Method in class org.mockejb.interceptor.InvocationContext
- Deprecated. Use getProxyMethod instead
- getInterceptedObject() -
Method in class org.mockejb.interceptor.InvocationContext
- Deprecated. Use getProxyObject instead
- getInterceptorIterator() -
Method in class org.mockejb.interceptor.InvocationContext
- Returns the iterator currently in use to traverse the
interceptor list.
- getInterceptorList() -
Method in class org.mockejb.interceptor.InvocationContext
-
- getJMSCorrelationID() -
Method in class org.mockejb.jms.MessageImpl
-
- getJMSCorrelationIDAsBytes() -
Method in class org.mockejb.jms.MessageImpl
- Not supported.
- getJMSDeliveryMode() -
Method in class org.mockejb.jms.MessageImpl
-
- getJMSDestination() -
Method in class org.mockejb.jms.MessageImpl
-
- getJMSExpiration() -
Method in class org.mockejb.jms.MessageImpl
-
- getJMSMessageID() -
Method in class org.mockejb.jms.MessageImpl
-
- getJMSPriority() -
Method in class org.mockejb.jms.MessageImpl
-
- getJMSRedelivered() -
Method in class org.mockejb.jms.MessageImpl
- Always returns
false
- getJMSReplyTo() -
Method in class org.mockejb.jms.MessageImpl
-
- getJMSTimestamp() -
Method in class org.mockejb.jms.MessageImpl
-
- getJMSType() -
Method in class org.mockejb.jms.MessageImpl
-
- getJndiName() -
Method in class org.mockejb.BasicEjbDescriptor
-
- getLong(String) -
Method in class org.mockejb.jms.MapMessageImpl
-
- getLongProperty(String) -
Method in class org.mockejb.jms.MessageImpl
-
- getMapNames() -
Method in class org.mockejb.jms.MapMessageImpl
-
- getMessageListener() -
Method in class org.mockejb.jms.MockConsumer
-
- getMessageSelector() -
Method in class org.mockejb.jms.MockConsumer
-
- getMethodInvocationList() -
Method in class org.mockejb.interceptor.InvocationRecorder
- Returns the list of all invocations that happened since the recorder
was added.
- getName() -
Method in class org.mockejb.MockUser
-
- getNameInNamespace() -
Method in class org.mockejb.jndi.MockContext
- Not implemented
- getNameParser(Name) -
Method in class org.mockejb.jndi.MockContext
- Retrieves name parser used to parse context with name
name
.
- getNameParser(String) -
Method in class org.mockejb.jndi.MockContext
- Retrieves name parser used to parse context with name
name
.
- getNoLocal() -
Method in class org.mockejb.jms.TopicSubscriberImpl
-
- getObject(String) -
Method in class org.mockejb.jms.MapMessageImpl
-
- getObject() -
Method in class org.mockejb.jms.ObjectMessageImpl
-
- getObjectInstance(Object, Name, Context, Hashtable) -
Method in class org.mockejb.jndi.java.javaURLContextFactory
-
- getObjectProperty(String) -
Method in class org.mockejb.jms.MessageImpl
-
- getOptionalPropertyValue(String) -
Method in class org.mockejb.interceptor.InvocationContext
- Returns the context property value associated with the provided key
or null if the key is not found
- getParamVals() -
Method in class org.mockejb.interceptor.InvocationContext
-
- getPointcut() -
Method in class org.mockejb.BMPFinderHandler
-
- getPointcut() -
Method in class org.mockejb.CMPFindByPrimaryKeyHandler
-
- getPointcut() -
Method in class org.mockejb.EjbExceptionHandler
- Intercepts all EJB methods.
- getPointcut() -
Method in interface org.mockejb.interceptor.Aspect
-
- getPolicy() -
Method in class org.mockejb.TransactionManager
- Returns the currently set transaction policy.
- getPrimaryKey() -
Method in class org.mockejb.MockEjbContext
- Returns the primary key for entity beans.
- getPrimaryKey() -
Method in class org.mockejb.MockEjbObject
-
- getPrimaryKeyClass() -
Method in class org.mockejb.MockEjbMetaData
- Currently this method always returns
null
- getPropertyNames() -
Method in class org.mockejb.jms.MessageImpl
-
- getPropertyValue(String) -
Method in class org.mockejb.interceptor.InvocationContext
- Returns the custome context's property value associated with the provided key
or throws IllegalStateException if the key is not found
- getProxyMethod() -
Method in class org.mockejb.interceptor.InvocationContext
- Returns the proxy method, the method that was called on the proxy.
- getProxyObject() -
Method in class org.mockejb.interceptor.InvocationContext
- Returns the proxy object.
- getQueue() -
Method in class org.mockejb.jms.QueueReceiverImpl
-
- getQueueName() -
Method in class org.mockejb.jms.MockQueue
-
- getRemoteInterfaceClass() -
Method in class org.mockejb.MockEjbMetaData
-
- getReturnObject() -
Method in class org.mockejb.interceptor.InvocationContext
- Returns the return value of the invocation.
- getRollbackOnly() -
Method in class org.mockejb.MockEjbContext
-
- getShort(String) -
Method in class org.mockejb.jms.MapMessageImpl
-
- getShortProperty(String) -
Method in class org.mockejb.jms.MessageImpl
-
- getString(String) -
Method in class org.mockejb.jms.MapMessageImpl
-
- getStringProperty(String) -
Method in class org.mockejb.jms.MessageImpl
-
- getTargetMethod() -
Method in class org.mockejb.interceptor.InvocationContext
- Returns the target method of the invocation.
- getTargetObject() -
Method in class org.mockejb.interceptor.InvocationContext
- Returns the target object of the invocation.
- getText() -
Method in class org.mockejb.jms.TextMessageImpl
-
- getThrownThrowable() -
Method in class org.mockejb.interceptor.InvocationContext
- Returns the throwable thrown by the target method or by one of the
interceptors.
- getTopic() -
Method in class org.mockejb.jms.TopicSubscriberImpl
-
- getTopicName() -
Method in class org.mockejb.jms.MockTopic
- Returns topic name.
- getUser() -
Static method in class org.mockejb.MockContainer
- Returns the user that was passed to the
MockContainer.login method.
- getUserTransaction() -
Method in class org.mockejb.MockEjbContext
- Calls
TransactionManager
to get the
javax.transaction.UserTransaction
object.
- getUserTransaction() -
Static method in class org.mockejb.TransactionManager
- Returns UserTransaction object.
H
- handlePolicy(TransactionPolicy, Object, Method, Object[]) -
Method in class org.mockejb.TransactionManager
- Performs the actions necessary to handle the transaction policy
according to the spec.
- hasRecords() -
Method in class org.mockejb.interceptor.InvocationRecorder
- Returns true is it has at least one record
- hasRole(String) -
Method in class org.mockejb.MockUser
- Checks if the given role belongs to this user
- hashCode() -
Method in class org.mockejb.BMPFinderHandler
-
- hashCode() -
Method in class org.mockejb.CMPFindByPrimaryKeyHandler
-
- hashCode() -
Method in class org.mockejb.EjbExceptionHandler
-
- hashCode() -
Method in class org.mockejb.MockEjbObject
-
- hashCode() -
Method in class org.mockejb.TransactionManager
-
- hashCode() -
Method in class org.mockejb.interceptor.ClassPatternPointcut
-
- hashCode() -
Method in class org.mockejb.interceptor.ClassPointcut
-
- hashCode() -
Method in class org.mockejb.interceptor.MethodPatternPointcut
-
- hashCode() -
Method in class org.mockejb.interceptor.PointcutPair
-
I
- InterceptableProxy - class org.mockejb.interceptor.InterceptableProxy.
- Creates dynamic proxy and acts as an InvocationHandler for
this proxy.
- Interceptor - interface org.mockejb.interceptor.Interceptor.
- Interceptors intercept calls to an object to perform some actions, such as logging,
transaction management and so on.
- InterceptorInvoker - class org.mockejb.interceptor.InterceptorInvoker.
- Requests the interceptors from the AspectSystem and
initiates the call to the interceptor chain.
- InterceptorInvoker() -
Constructor for class org.mockejb.interceptor.InterceptorInvoker
-
- InterceptorInvoker.CglibMethodInvoker - class org.mockejb.interceptor.InterceptorInvoker.CglibMethodInvoker.
- Calls the object's method using Cglib.
- InterceptorInvoker.CglibMethodInvoker() -
Constructor for class org.mockejb.interceptor.InterceptorInvoker.CglibMethodInvoker
-
- InvocationContext - class org.mockejb.interceptor.InvocationContext.
- Performs the invocation of interceptors in their order in the
interceptor list.
- InvocationContext(List, Object, Method, Object, Method, Object[]) -
Constructor for class org.mockejb.interceptor.InvocationContext
- Creates a new instance of the InvocationContext.
- InvocationContext(List, Object, Method, Object, Method, Object[], Map) -
Constructor for class org.mockejb.interceptor.InvocationContext
- Creates a new instance of the InvocationContext.
- InvocationRecorder - class org.mockejb.interceptor.InvocationRecorder.
- Stores the information about all calls to the target object
in the list.
- InvocationRecorder() -
Constructor for class org.mockejb.interceptor.InvocationRecorder
-
- intercept(InvocationContext) -
Method in class org.mockejb.BMPFinderHandler
- Intercepts and handles finders.
- intercept(InvocationContext) -
Method in class org.mockejb.CMPFindByPrimaryKeyHandler
-
- intercept(InvocationContext) -
Method in class org.mockejb.EjbExceptionHandler
- Performs exception translation according to the ejb spec rules.
- intercept(Object, Method, Object[], MethodProxy) -
Method in class org.mockejb.EntityBeanSubclass
-
- intercept(InvocationContext) -
Method in class org.mockejb.TransactionManager
- Begins, commits and rolls back the transaction according to the currently
set policy and EJB spec.
- intercept(Object, Method, Object[], MethodProxy) -
Method in class org.mockejb.interceptor.InterceptableProxy
-
- intercept(InvocationContext) -
Method in interface org.mockejb.interceptor.Interceptor
- Performs pre and post invocation actions for the target object call.
- intercept(InvocationContext) -
Method in class org.mockejb.interceptor.InterceptorInvoker.CglibMethodInvoker
-
- intercept(InvocationContext) -
Method in class org.mockejb.interceptor.InvocationRecorder
-
- invoke(Object, Method, Object[]) -
Method in class org.mockejb.MockEjbObject
- Invokes the target bean's method by delegating to the
InvocationContext
which calls interceptors and then the bean itself.
- invoke(Object, Method, Object, Method, Object[]) -
Method in class org.mockejb.interceptor.InterceptorInvoker
- Calls AspectSystem to find the interceptors for the given invokedMethod and
targetMethod, creates the
invocationContext and proceeds to calling the first interceptor.
- invokeEjbSelect(Object, Method, Object[]) -
Method in class org.mockejb.EntityBeanSubclass
-
- invokeMethod(Object, Method, Object[]) -
Method in class org.mockejb.interceptor.InvocationContext
- Calls the object's method using reflection.
- isAlreadyBound() -
Method in class org.mockejb.MDBDescriptor
-
- isCMP() -
Method in class org.mockejb.EntityBeanDescriptor
- Returns true if this descriptor is for CMP entity bean,
i.e., abstract bean class was passed to the constructor
- isCactusMode() -
Method in class org.mockejb.OptionalCactusTestCase
- Tests if the test should run in Cactus mode.
- isCallerInRole(Identity) -
Method in class org.mockejb.MockEjbContext
- This method is not supported
- isCallerInRole(String) -
Method in class org.mockejb.MockEjbContext
-
- isIdentical(Object) -
Method in class org.mockejb.MockEjbObject
- Test if a given object is identical to the invoked object.
- isRemote() -
Method in class org.mockejb.MockEjbContext
- Tests if the business interface for this context's bean is remote interface
meaning that it extends
EJBObject
.
- isRunningOnServer() -
Method in class org.mockejb.OptionalCactusTestCase
- Tests if the test is being executed on the app server.
- isSession() -
Method in class org.mockejb.MockEjbMetaData
- Checks if this bean is ths session bean.
- isStateful() -
Method in class org.mockejb.SessionBeanDescriptor
- Returns true if this bean is the stateful bean.
- isStatelessSession() -
Method in class org.mockejb.MockEjbMetaData
-
- isSystemException(Throwable) -
Static method in class org.mockejb.MockContainer
- Tests if the given throwable is the system exception in terms of the container.
- isTopic() -
Method in class org.mockejb.MDBDescriptor
-
- itemExists(String) -
Method in class org.mockejb.jms.MapMessageImpl
-
J
- javaURLContextFactory - class org.mockejb.jndi.java.javaURLContextFactory.
- Handles the
java:
context. - javaURLContextFactory() -
Constructor for class org.mockejb.jndi.java.javaURLContextFactory
-
L
- list(Name) -
Method in class org.mockejb.jndi.MockContext
- The same as
listBindings(String)
- list(String) -
Method in class org.mockejb.jndi.MockContext
- The same as
listBindings(String)
- listBindings(Name) -
Method in class org.mockejb.jndi.MockContext
- Lists all bindings for Context with name
name
.
- listBindings(String) -
Method in class org.mockejb.jndi.MockContext
- Lists all bindings for Context with name
name
.
- loadEntityDatabase() -
Method in class org.mockejb.MockContainer
-
- log(String) -
Method in class org.mockejb.TransactionManager
-
- login(MockUser) -
Method in class org.mockejb.MockContainer
- Simulates the login operation of the container.
- lookup(Name) -
Method in class org.mockejb.jndi.MockContext
- Looks up object with name
name
in this context.
- lookup(String) -
Method in class org.mockejb.jndi.MockContext
- Looks up the object in this context.
- lookupLink(Name) -
Method in class org.mockejb.jndi.MockContext
- Not implemented
- lookupLink(String) -
Method in class org.mockejb.jndi.MockContext
- Not implemented
M
- MANDATORY -
Static variable in class org.mockejb.TransactionPolicy
-
- MDBDescriptor - class org.mockejb.MDBDescriptor.
- Provides the information that MockEJB needs to "deploy" MDB.
- MDBDescriptor(String, String, Object) -
Constructor for class org.mockejb.MDBDescriptor
- Creates a new instance of the descriptor.
- MapMessageImpl - class org.mockejb.jms.MapMessageImpl.
MapMessage
implementation.- MapMessageImpl() -
Constructor for class org.mockejb.jms.MapMessageImpl
- Creates empty
MapMessageImpl
MapMessageImpl(MapMessage) -
Constructor for class org.mockejb.jms.MapMessageImpl
Creates MapMessageImpl
and copies its header, properties and
body from msg
MessageImpl - class org.mockejb.jms.MessageImpl.
Message
implementation.
MessageImpl() -
Constructor for class org.mockejb.jms.MessageImpl
Constructs empty message.
MessageImpl(Message) -
Constructor for class org.mockejb.jms.MessageImpl
Constructs new MessageImpl
by copying all
header fields and properties from the specified message msg
MessageUtility - class org.mockejb.jms.MessageUtility.
Collection of utility methods.
MethodNotImplementedException - exception org.mockejb.MethodNotImplementedException.
Indicates that the method defined by one of the standard interfaces is
not implemented by the framework.
MethodNotImplementedException(String, String) -
Constructor for class org.mockejb.MethodNotImplementedException
MethodPatternPointcut - class org.mockejb.interceptor.MethodPatternPointcut.
Tests if the string representation of the given method
matches the regexp.
MethodPatternPointcut(String) -
Constructor for class org.mockejb.interceptor.MethodPatternPointcut
Creates a new instance of MethodPatternPoincut
MockConsumer - class org.mockejb.jms.MockConsumer.
MockContainer - class org.mockejb.MockContainer.
Provides methods to "deploy" EJBs.
MockContainer(Context) -
Constructor for class org.mockejb.MockContainer
Creates a new instance of the MockContainer for
the given context, deletes all aspects from the AspectSystem and adds the system interceptors, such as
ExceptionHandler.
MockContext - class org.mockejb.jndi.MockContext.
Provides implementation of javax.naming.Context
interface for
hierarchical in memory single-namespace naming system.
MockContext(Context) -
Constructor for class org.mockejb.jndi.MockContext
Creates a new instance of the context.
MockContextFactory - class org.mockejb.jndi.MockContextFactory.
Creates MockContext
.
MockContextFactory() -
Constructor for class org.mockejb.jndi.MockContextFactory
MockContextTest - class org.mockejb.jndi.MockContextTest.
Tests all basic methods of MockContext.
MockContextTest(String) -
Constructor for class org.mockejb.jndi.MockContextTest
MockEjbContext - class org.mockejb.MockEjbContext.
Provides implementation of javax.ejb.SessionContext
,
javax.ejb.MessageDrivenContext
and javax.ejb.EntityContext
as well as some extra convenience methods.
MockEjbMetaData - class org.mockejb.MockEjbMetaData.
Provides the implementation of javax.ejb.EJBMetaData
MockEjbObject - class org.mockejb.MockEjbObject.
Serves as a proxy for all calls to the bean.
MockEjbSystemException - exception org.mockejb.MockEjbSystemException.
Indicates system error in MockEJB framework.
MockEjbSystemException(String, Throwable) -
Constructor for class org.mockejb.MockEjbSystemException
Creates a new instance of MockEjbSystemException
.
MockEjbSystemException(String) -
Constructor for class org.mockejb.MockEjbSystemException
MockEjbSystemException(Throwable) -
Constructor for class org.mockejb.MockEjbSystemException
MockQueue - class org.mockejb.jms.MockQueue.
Queue
implementation.
MockQueue(String) -
Constructor for class org.mockejb.jms.MockQueue
Creates MockQueue
with the specified name
name
MockTopic - class org.mockejb.jms.MockTopic.
Topic
implementation.
MockTopic(String) -
Constructor for class org.mockejb.jms.MockTopic
Creates MockTopic
with the specified name
name
MockUser - class org.mockejb.MockUser.
Provides simple implementation of java.security.Principal.
MockUser(String) -
Constructor for class org.mockejb.MockUser
MockUser(String, String) -
Constructor for class org.mockejb.MockUser
MockUser(String, String[]) -
Constructor for class org.mockejb.MockUser
MustBeInterceptedException - exception org.mockejb.MustBeInterceptedException.
Indicates that the method you're trying to call must be intercepted,
MockEJB itself does not support this method.
MustBeInterceptedException(Method) -
Constructor for class org.mockejb.MustBeInterceptedException
MustBeInterceptedException() -
Constructor for class org.mockejb.MustBeInterceptedException
matchesJointpoint(Method) -
Method in class org.mockejb.interceptor.ClassPatternPointcut
Tests if the fully qualified class name of the given method
matchesJointpoint(Method) -
Method in class org.mockejb.interceptor.ClassPointcut
Tests if the class of the provided method is the same with the
the class provided to the constructor of this pointcut.
matchesJointpoint(Method) -
Method in class org.mockejb.interceptor.MethodPatternPointcut
Tests if the string representation of the given method
matches the pattern.
matchesJointpoint(Method) -
Method in interface org.mockejb.interceptor.Pointcut
Tests if the provided jointpoint represented by the intercepted object (object being called)
and the method matches this pointcut.
matchesJointpoint(Method) -
Method in class org.mockejb.interceptor.PointcutPair
Tests if both poincuts match
N
- NEVER -
Static variable in class org.mockejb.TransactionPolicy
-
- NOT_SUPPORTED -
Static variable in class org.mockejb.TransactionPolicy
-
- newInstance(Class) -
Static method in class org.mockejb.EntityBeanSubclass
- Creates an instance of EntityBeanSubclass.
O
- ObjectMessageImpl - class org.mockejb.jms.ObjectMessageImpl.
ObjectMessage
implementation.- ObjectMessageImpl() -
Constructor for class org.mockejb.jms.ObjectMessageImpl
- Creates empty
ObjectMessageImpl
.
- ObjectMessageImpl(Serializable) -
Constructor for class org.mockejb.jms.ObjectMessageImpl
- Creates new
ObjectMessageImpl
and sets its body to
object
- ObjectMessageImpl(ObjectMessage) -
Constructor for class org.mockejb.jms.ObjectMessageImpl
- Creates new
ObjectMessageImpl
and sets its header, properties
and body to the corresponded values from msg
- OptionalCactusTestCase - class org.mockejb.OptionalCactusTestCase.
- Runs the test case on the server side under cactus or
standalone on the client side.
- OptionalCactusTestCase(String) -
Constructor for class org.mockejb.OptionalCactusTestCase
- Creates a new TestCase for the given test.
- or(Pointcut, Pointcut) -
Static method in class org.mockejb.interceptor.PointcutPair
- Creates a new instance of PointcutPair.
- org.mockejb - package org.mockejb
-
- org.mockejb.interceptor - package org.mockejb.interceptor
-
- org.mockejb.jms - package org.mockejb.jms
-
- org.mockejb.jndi - package org.mockejb.jndi
-
- org.mockejb.jndi.java - package org.mockejb.jndi.java
-
P
- POLICY_CONTEXT_KEY -
Static variable in class org.mockejb.TransactionManager
-
- Pointcut - interface org.mockejb.interceptor.Pointcut.
- Represents the AOP "pointcut" abstraction.
- PointcutException - exception org.mockejb.interceptor.PointcutException.
- Signifies exception in the pointcut, for example
errors in the provided regexp patterns.
- PointcutException(String, Throwable) -
Constructor for class org.mockejb.interceptor.PointcutException
- Creates a new instance of
PointcutException
.
- PointcutException(String) -
Constructor for class org.mockejb.interceptor.PointcutException
-
- PointcutPair - class org.mockejb.interceptor.PointcutPair.
- Provides a way to create conditional expressions from pointcuts.
- proceed() -
Method in class org.mockejb.interceptor.InvocationContext
- Calls the next interceptor in the list.
- propertyExists(String) -
Method in class org.mockejb.jms.MessageImpl
-
Q
- QueueConnectionFactoryImpl - class org.mockejb.jms.QueueConnectionFactoryImpl.
QueueConnectionFactory
implementation.- QueueConnectionFactoryImpl() -
Constructor for class org.mockejb.jms.QueueConnectionFactoryImpl
-
- QueueReceiverImpl - class org.mockejb.jms.QueueReceiverImpl.
-
- QueueReceiverImpl(MockSession, MockQueue) -
Constructor for class org.mockejb.jms.QueueReceiverImpl
-
R
- REQUIRED -
Static variable in class org.mockejb.TransactionPolicy
-
- REQUIRED_NEW -
Static variable in class org.mockejb.TransactionPolicy
-
- readBoolean() -
Method in class org.mockejb.jms.BytesMessageImpl
-
- readBoolean() -
Method in class org.mockejb.jms.StreamMessageImpl
-
- readByte() -
Method in class org.mockejb.jms.BytesMessageImpl
-
- readByte() -
Method in class org.mockejb.jms.StreamMessageImpl
-
- readBytes(byte[]) -
Method in class org.mockejb.jms.BytesMessageImpl
-
- readBytes(byte[], int) -
Method in class org.mockejb.jms.BytesMessageImpl
-
- readBytes(byte[]) -
Method in class org.mockejb.jms.StreamMessageImpl
-
- readChar() -
Method in class org.mockejb.jms.BytesMessageImpl
-
- readChar() -
Method in class org.mockejb.jms.StreamMessageImpl
-
- readDouble() -
Method in class org.mockejb.jms.BytesMessageImpl
-
- readDouble() -
Method in class org.mockejb.jms.StreamMessageImpl
-
- readFloat() -
Method in class org.mockejb.jms.BytesMessageImpl
-
- readFloat() -
Method in class org.mockejb.jms.StreamMessageImpl
-
- readInt() -
Method in class org.mockejb.jms.BytesMessageImpl
-
- readInt() -
Method in class org.mockejb.jms.StreamMessageImpl
-
- readLong() -
Method in class org.mockejb.jms.BytesMessageImpl
-
- readLong() -
Method in class org.mockejb.jms.StreamMessageImpl
-
- readObject() -
Method in class org.mockejb.jms.StreamMessageImpl
-
- readShort() -
Method in class org.mockejb.jms.BytesMessageImpl
-
- readShort() -
Method in class org.mockejb.jms.StreamMessageImpl
-
- readString() -
Method in class org.mockejb.jms.StreamMessageImpl
-
- readUTF() -
Method in class org.mockejb.jms.BytesMessageImpl
-
- readUnsignedByte() -
Method in class org.mockejb.jms.BytesMessageImpl
-
- readUnsignedShort() -
Method in class org.mockejb.jms.BytesMessageImpl
-
- rebind(Name, Object) -
Method in class org.mockejb.jndi.MockContext
- Rebinds object
obj
to name name
.
- rebind(String, Object) -
Method in class org.mockejb.jndi.MockContext
- Same as bind except that if
name
is already bound in
the context, it will be re-bound to object obj
- receive() -
Method in class org.mockejb.jms.MockConsumer
-
- receive(long) -
Method in class org.mockejb.jms.MockConsumer
-
- receiveNoWait() -
Method in class org.mockejb.jms.MockConsumer
-
- remove() -
Method in class org.mockejb.MockEjbObject
- Currently this method does not do anything
TODO: should call ejbRemove for stateful session bean
- removeFromEnvironment(String) -
Method in class org.mockejb.jndi.MockContext
- Not implemented
- removeIfExists(Aspect) -
Method in class org.mockejb.interceptor.AspectSystemImpl
-
- rename(Name, Name) -
Method in class org.mockejb.jndi.MockContext
- Not implemented
- rename(String, String) -
Method in class org.mockejb.jndi.MockContext
- Not implemented
- reset() -
Method in class org.mockejb.interceptor.InvocationContext
- Deprecated.
- reset() -
Method in class org.mockejb.jms.BytesMessageImpl
-
- reset() -
Method in class org.mockejb.jms.StreamMessageImpl
-
- revertSetAsInitial() -
Static method in class org.mockejb.jndi.MockContextFactory
- Restores the properties changed by
setAsInitial()
This method should be called in tearDown()
to clean up
all changes to the environment in case if the test is running in the app
server.
- runBare() -
Method in class org.mockejb.OptionalCactusTestCase
- Overrides the standard JUnit and Cactus method.
- runBareLocally() -
Method in class org.mockejb.OptionalCactusTestCase
- This method is called by
runBare
when it
determines that the test is running locally (on the client).
- runTestLocally() -
Method in class org.mockejb.OptionalCactusTestCase
- Invokes the test method using reflection.
S
- SUPPORTS -
Static variable in class org.mockejb.TransactionPolicy
-
- SessionBeanDescriptor - class org.mockejb.SessionBeanDescriptor.
- Provides Session bean-specific information required by MockContainer
to deploy session EJB.
- SessionBeanDescriptor(String, Class, Class, Class) -
Constructor for class org.mockejb.SessionBeanDescriptor
- Creates a new instance of the descriptor.
- SessionBeanDescriptor(String, Class, Class, Object) -
Constructor for class org.mockejb.SessionBeanDescriptor
- Creates a new instance of the descriptor.
- StreamMessageImpl - class org.mockejb.jms.StreamMessageImpl.
StreamMessage
implementation.- StreamMessageImpl() -
Constructor for class org.mockejb.jms.StreamMessageImpl
- Creates empty
StreamMessageImpl
.
- StreamMessageImpl(StreamMessage) -
Constructor for class org.mockejb.jms.StreamMessageImpl
- Creates new
StreamMessageImpl
initialized with
header, properties and body from msg
.
- setAsInitial() -
Static method in class org.mockejb.jndi.MockContextFactory
- Sets the
MockContextFactory
as the initial context factory.
- setBoolean(String, boolean) -
Method in class org.mockejb.jms.MapMessageImpl
-
- setBooleanProperty(String, boolean) -
Method in class org.mockejb.jms.MessageImpl
-
- setByte(String, byte) -
Method in class org.mockejb.jms.MapMessageImpl
-
- setByteProperty(String, byte) -
Method in class org.mockejb.jms.MessageImpl
-
- setBytes(String, byte[]) -
Method in class org.mockejb.jms.MapMessageImpl
-
- setBytes(String, byte[], int, int) -
Method in class org.mockejb.jms.MapMessageImpl
-
- setChar(String, char) -
Method in class org.mockejb.jms.MapMessageImpl
-
- setContext(String, Object) -
Method in class org.mockejb.interceptor.InterceptorInvoker
- Sets the custom context.
- setContext(String, Object) -
Method in class org.mockejb.interceptor.InvocationContext
- Adds the invocation context property.
- setDelegateContext(Context) -
Static method in class org.mockejb.jndi.MockContextFactory
- Sets the delegate context.
- setDelegateEnvironment(Hashtable) -
Static method in class org.mockejb.jndi.MockContextFactory
- Sets the environment of the delegate JNDI context.
- setDouble(String, double) -
Method in class org.mockejb.jms.MapMessageImpl
-
- setDoubleProperty(String, double) -
Method in class org.mockejb.jms.MessageImpl
-
- setFloat(String, float) -
Method in class org.mockejb.jms.MapMessageImpl
-
- setFloatProperty(String, float) -
Method in class org.mockejb.jms.MessageImpl
-
- setInt(String, int) -
Method in class org.mockejb.jms.MapMessageImpl
-
- setIntProperty(String, int) -
Method in class org.mockejb.jms.MessageImpl
-
- setInterceptorList(List) -
Method in class org.mockejb.interceptor.InvocationContext
- Sets the list of interceptors
- setIsAlreadyBound(boolean) -
Method in class org.mockejb.MDBDescriptor
- If set to True, MockEJB will assume that the connection factory and
desination already exist and bound in JNDI.
- setIsTopic(boolean) -
Method in class org.mockejb.MDBDescriptor
-
- setJMSCorrelationID(String) -
Method in class org.mockejb.jms.MessageImpl
-
- setJMSCorrelationIDAsBytes(byte[]) -
Method in class org.mockejb.jms.MessageImpl
- Not supported.
- setJMSDeliveryMode(int) -
Method in class org.mockejb.jms.MessageImpl
-
- setJMSDestination(Destination) -
Method in class org.mockejb.jms.MessageImpl
-
- setJMSExpiration(long) -
Method in class org.mockejb.jms.MessageImpl
-
- setJMSMessageID(String) -
Method in class org.mockejb.jms.MessageImpl
-
- setJMSPriority(int) -
Method in class org.mockejb.jms.MessageImpl
-
- setJMSRedelivered(boolean) -
Method in class org.mockejb.jms.MessageImpl
- Does nothing.
- setJMSReplyTo(Destination) -
Method in class org.mockejb.jms.MessageImpl
-
- setJMSTimestamp(long) -
Method in class org.mockejb.jms.MessageImpl
-
- setJMSType(String) -
Method in class org.mockejb.jms.MessageImpl
-
- setLong(String, long) -
Method in class org.mockejb.jms.MapMessageImpl
-
- setLongProperty(String, long) -
Method in class org.mockejb.jms.MessageImpl
-
- setMessageListener(MessageListener) -
Method in class org.mockejb.jms.MockConsumer
-
- setObject(String, Object) -
Method in class org.mockejb.jms.MapMessageImpl
-
- setObject(Serializable) -
Method in class org.mockejb.jms.ObjectMessageImpl
-
- setObjectProperty(String, Object) -
Method in class org.mockejb.jms.MessageImpl
-
- setPolicy(TransactionPolicy) -
Method in class org.mockejb.TransactionManager
- Sets the transaction policy.
- setPrimaryKey(Object) -
Method in class org.mockejb.MockEjbContext
-
- setPropertiesNotWriteable() -
Method in class org.mockejb.jms.MessageImpl
-
- setReturnObject(Object) -
Method in class org.mockejb.interceptor.InvocationContext
- Sets the return value of the invocation.
- setRole(String) -
Method in class org.mockejb.MockUser
- Sets the role that this user has meaning that
this user only has one role
- setRoles(String[]) -
Method in class org.mockejb.MockUser
- Sets the roles that this user has
- setRollbackOnly() -
Method in class org.mockejb.MockEjbContext
-
- setShort(String, short) -
Method in class org.mockejb.jms.MapMessageImpl
-
- setShortProperty(String, short) -
Method in class org.mockejb.jms.MessageImpl
-
- setStateful(boolean) -
Method in class org.mockejb.SessionBeanDescriptor
-
- setString(String, String) -
Method in class org.mockejb.jms.MapMessageImpl
-
- setStringProperty(String, String) -
Method in class org.mockejb.jms.MessageImpl
-
- setText(String) -
Method in class org.mockejb.jms.TextMessageImpl
-
- setThrownThrowable(Throwable) -
Method in class org.mockejb.interceptor.InvocationContext
- Sets the throwable thrown by the invoked method
- setTransactionPolicy(TransactionPolicy) -
Method in class org.mockejb.MockEjbObject
- Deprecated. use TransactionManager with the AspectSystem to set transaction policies
- setUp() -
Method in class org.mockejb.jndi.MockContextTest
-
- setUserTransaction(UserTransaction) -
Method in class org.mockejb.TransactionManager
- Sets the shared instance of UserTransaction that will be used by MockEJB.
- setupDefaultInterceptors() -
Method in class org.mockejb.MockContainer
- Add the interceptors that should always be present to
the AspectSystem.
T
- THREAD_LOCAL_ASPECT_SYSTEM -
Static variable in class org.mockejb.interceptor.AspectSystemFactory
-
- TextMessageImpl - class org.mockejb.jms.TextMessageImpl.
TextMessage
implementation.- TextMessageImpl(TextMessage) -
Constructor for class org.mockejb.jms.TextMessageImpl
- Creates new
TextMessageImpl
initialized
with the text from msg
- TextMessageImpl() -
Constructor for class org.mockejb.jms.TextMessageImpl
- Creates empty
TextMessage
- TextMessageImpl(String) -
Constructor for class org.mockejb.jms.TextMessageImpl
- Creates new
TextMessageImpl
initialized with
text
- TopicConnectionFactoryImpl - class org.mockejb.jms.TopicConnectionFactoryImpl.
TopicConnectionFactory
implementation.- TopicConnectionFactoryImpl() -
Constructor for class org.mockejb.jms.TopicConnectionFactoryImpl
-
- TopicSubscriberImpl - class org.mockejb.jms.TopicSubscriberImpl.
-
- TopicSubscriberImpl(MockSession, MockTopic) -
Constructor for class org.mockejb.jms.TopicSubscriberImpl
- Creates topic subscriber for the specified session and topic.
- TransactionManager - class org.mockejb.TransactionManager.
- Provides the support for the container-managed transactions
according to EJB spec (chapter 18).
- TransactionManager(TransactionPolicy) -
Constructor for class org.mockejb.TransactionManager
- Creates a new instance of the
TransactionManager
with the
given policy.
- TransactionManager() -
Constructor for class org.mockejb.TransactionManager
- Creates a new instance of the
TransactionManager
with the
default (Supports) policy.
- TransactionPolicy - class org.mockejb.TransactionPolicy.
- Enumeration of possible values of the transaction attribute (transaction
policy) as per EJB spec.
- tearDown() -
Method in class org.mockejb.jndi.MockContextTest
-
- testBindLookup() -
Method in class org.mockejb.jndi.MockContextTest
- Tests ability to bind name to object and inability to bind
duplicate names.
- testCompositeNameWithLeadingTrailingEmptyComponents() -
Method in class org.mockejb.jndi.MockContextTest
-
- testDelegateContext() -
Method in class org.mockejb.jndi.MockContextTest
- Tests that delegate context is
invoked when MockContext does not find the name
- testGetCompositeName() -
Method in class org.mockejb.jndi.MockContextTest
- Tests "getCompositeName" method
- testListBindings() -
Method in class org.mockejb.jndi.MockContextTest
- Tests ability to list bindings for a context - specified by
name through object reference.
- testLookup() -
Method in class org.mockejb.jndi.MockContextTest
-
- testSubcontextCreationOfDuplicates() -
Method in class org.mockejb.jndi.MockContextTest
- Tests inability to create duplicate subcontexts.
- testSubcontextDestruction() -
Method in class org.mockejb.jndi.MockContextTest
- Tests ability to destroy empty subcontexts.
- testSubcontextInvokingMethodsOnDestroyedContext() -
Method in class org.mockejb.jndi.MockContextTest
- Tests inability to invoke methods on destroyed subcontexts.
- testSubcontextNonEmptyDestruction() -
Method in class org.mockejb.jndi.MockContextTest
- Tests inability to destroy non empty subcontexts.
- testTwoSeparatorNames() -
Method in class org.mockejb.jndi.MockContextTest
- Tests substitution of '.' with '/' when parsing string names.
- testUnbind() -
Method in class org.mockejb.jndi.MockContextTest
- Tests ability to unbind names.
- toString() -
Method in class org.mockejb.MockEjbObject
- Provides string representation of this
MockEjbObject
and
the its bean implementation object.
- toString() -
Method in class org.mockejb.MockUser
-
- toString() -
Method in class org.mockejb.TransactionPolicy
-
- toString() -
Method in class org.mockejb.interceptor.InvocationContext
-
- toString() -
Method in class org.mockejb.interceptor.InvocationRecorder
-
U
- USER_TRANSACTION_JNDI -
Static variable in class org.mockejb.TransactionManager
-
- unbind(Name) -
Method in class org.mockejb.jndi.MockContext
- Removes
name
and its associated object from the context.
- unbind(String) -
Method in class org.mockejb.jndi.MockContext
- Removes object from the object map
W
- writeBoolean(boolean) -
Method in class org.mockejb.jms.BytesMessageImpl
-
- writeBoolean(boolean) -
Method in class org.mockejb.jms.StreamMessageImpl
-
- writeByte(byte) -
Method in class org.mockejb.jms.BytesMessageImpl
-
- writeByte(byte) -
Method in class org.mockejb.jms.StreamMessageImpl
-
- writeBytes(byte[]) -
Method in class org.mockejb.jms.BytesMessageImpl
-
- writeBytes(byte[], int, int) -
Method in class org.mockejb.jms.BytesMessageImpl
-
- writeBytes(byte[]) -
Method in class org.mockejb.jms.StreamMessageImpl
-
- writeBytes(byte[], int, int) -
Method in class org.mockejb.jms.StreamMessageImpl
-
- writeChar(char) -
Method in class org.mockejb.jms.BytesMessageImpl
-
- writeChar(char) -
Method in class org.mockejb.jms.StreamMessageImpl
-
- writeDouble(double) -
Method in class org.mockejb.jms.BytesMessageImpl
-
- writeDouble(double) -
Method in class org.mockejb.jms.StreamMessageImpl
-
- writeFloat(float) -
Method in class org.mockejb.jms.BytesMessageImpl
-
- writeFloat(float) -
Method in class org.mockejb.jms.StreamMessageImpl
-
- writeInt(int) -
Method in class org.mockejb.jms.BytesMessageImpl
-
- writeInt(int) -
Method in class org.mockejb.jms.StreamMessageImpl
-
- writeLong(long) -
Method in class org.mockejb.jms.BytesMessageImpl
-
- writeLong(long) -
Method in class org.mockejb.jms.StreamMessageImpl
-
- writeObject(Object) -
Method in class org.mockejb.jms.BytesMessageImpl
-
- writeObject(Object) -
Method in class org.mockejb.jms.StreamMessageImpl
-
- writeShort(short) -
Method in class org.mockejb.jms.BytesMessageImpl
-
- writeShort(short) -
Method in class org.mockejb.jms.StreamMessageImpl
-
- writeString(String) -
Method in class org.mockejb.jms.StreamMessageImpl
-
- writeUTF(String) -
Method in class org.mockejb.jms.BytesMessageImpl
-
A B C D E F G H I J L M N O P Q R S T U W
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV
NEXT
FRAMES
NO FRAMES
All Classes