|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
AspectException
.
obj
to name name
in this context.
obj
to name name
in this context.
BytesMessage
implementation.BytesMessage
BytesMessage
and copies its header, properties and
body from msg
The state of msg
is not changed.
prefix
and name
.
msg
to a new
message of the same type.
name
, relative to this Context.
name
, relative to this Context.
name
The subcontext must be empty otherwise ContextNotEmptyException
is thrown.
name
MockEjbContext
object for the bean backed by this
MockEjbObject.
false
name
.
name
.
null
TransactionManager
to get the
javax.transaction.UserTransaction
object.
InvocationContext
which calls interceptors and then the bean itself.
EJBObject
.
java:
context.listBindings(String)
listBindings(String)
name
.
name
.
name
in this context.
MapMessage
implementation.MapMessageImpl
- MapMessageImpl(MapMessage) -
Constructor for class org.mockejb.jms.MapMessageImpl
- Creates
MapMessageImpl
and copies its header, properties and
body from msg
- 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
- MDBDescriptor - Class in org.mockejb
- 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.
- MessageImpl - Class in org.mockejb.jms
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 in org.mockejb.jms
- Collection of utility methods.
- MethodNotImplementedException - Exception in org.mockejb
- Indicates that the method defined by one of the standard interfaces is
not implemented by the framework.
- MethodNotImplementedException(String, String) -
Constructor for exception org.mockejb.MethodNotImplementedException
-
- MethodPatternPointcut - Class in org.mockejb.interceptor
- 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 in org.mockejb.jms
-
- MockContainer - Class in org.mockejb
- 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 in org.mockejb.jndi
- 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 in org.mockejb.jndi
- Creates
MockContext
. - MockContextFactory() -
Constructor for class org.mockejb.jndi.MockContextFactory
-
- MockContextTest - Class in org.mockejb.jndi
- Tests all basic methods of MockContext.
- MockContextTest(String) -
Constructor for class org.mockejb.jndi.MockContextTest
-
- MockEjbContext - Class in org.mockejb
- Provides implementation of
javax.ejb.SessionContext
,
javax.ejb.MessageDrivenContext
and javax.ejb.EntityContext
as well as some extra convenience methods. - MockEjbMetaData - Class in org.mockejb
- Provides the implementation of
javax.ejb.EJBMetaData
- MockEjbObject - Class in org.mockejb
- Serves as a proxy for all calls to the bean.
- MockEjbSystemException - Exception in org.mockejb
- Indicates system error in MockEJB framework.
- MockEjbSystemException(String, Throwable) -
Constructor for exception org.mockejb.MockEjbSystemException
- Creates a new instance of
MockEjbSystemException
.
- MockEjbSystemException(String) -
Constructor for exception org.mockejb.MockEjbSystemException
-
- MockEjbSystemException(Throwable) -
Constructor for exception org.mockejb.MockEjbSystemException
-
- MockQueue - Class in org.mockejb.jms
Queue
implementation.- MockQueue(String) -
Constructor for class org.mockejb.jms.MockQueue
- Creates
MockQueue
with the specified name
name
- MockTopic - Class in org.mockejb.jms
Topic
implementation.- MockTopic(String) -
Constructor for class org.mockejb.jms.MockTopic
- Creates
MockTopic
with the specified name
name
- MockUser - Class in org.mockejb
- 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 in org.mockejb
- Indicates that the method you're trying to call must be intercepted,
MockEJB itself does not support this method.
- MustBeInterceptedException(Method) -
Constructor for exception org.mockejb.MustBeInterceptedException
-
- MustBeInterceptedException() -
Constructor for exception org.mockejb.MustBeInterceptedException
-
ObjectMessage
implementation.ObjectMessageImpl
.
ObjectMessageImpl
and sets its body to
object
ObjectMessageImpl
and sets its header, properties
and body to the corresponded values from msg
PointcutException
.
QueueConnectionFactory
implementation.obj
to name name
.
name
is already bound in
the context, it will be re-bound to object obj
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.
MockContextFactory
as the initial context factory.
StreamMessage
implementation.StreamMessageImpl
.
StreamMessageImpl
initialized with
header, properties and body from msg
.
TextMessage
implementation.TextMessageImpl
initialized
with the text from msg
TextMessage
TextMessageImpl
initialized with
text
TopicConnectionFactory
implementation.MockEjbObject
and
the its bean implementation object.
TransactionManager
with the
given policy.
TransactionManager
with the
default (Supports) policy.
name
and its associated object from the context.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |