|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
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.
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
- 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
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.
runBare
when it
determines that the test is running locally (on the client).
StreamMessage
implementation.StreamMessageImpl
.
StreamMessageImpl
initialized with
header, properties and body from msg
.
MockContextFactory
as the initial context factory.
TextMessage
implementation.TextMessageImpl
initialized
with the text from msg
TextMessage
TextMessageImpl
initialized with
text
TopicConnectionFactory
implementation.TransactionManager
with the
given policy.
TransactionManager
with the
default (Supports) policy.
MockEjbObject
and
the its bean implementation object.
name
and its associated object from the context.
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |