org.apache.openejb.test.mdb
Class InterceptorMdbBean
java.lang.Object
org.apache.openejb.test.mdb.InterceptorMdbBean
- All Implemented Interfaces:
- java.io.Serializable, javax.ejb.EnterpriseBean, javax.ejb.MessageDrivenBean, javax.jms.MessageListener
public class InterceptorMdbBean
- extends java.lang.Object
- implements javax.jms.MessageListener, javax.ejb.MessageDrivenBean
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
classLevelCreateMethodInterception
protected static boolean classLevelCreateMethodInterception
mdbInvoker
protected MdbInvoker mdbInvoker
InterceptorMdbBean
public InterceptorMdbBean()
onMessage
public void onMessage(javax.jms.Message msg)
- Specified by:
onMessage
in interface javax.jms.MessageListener
mdbInterceptor
public java.lang.Object mdbInterceptor(javax.interceptor.InvocationContext ctx)
throws java.lang.Exception
- Throws:
java.lang.Exception
ejbCreate
@PostConstruct
public void ejbCreate()
throws javax.ejb.EJBException
- Throws:
javax.ejb.EJBException
checkMethodLevelBusinessMethodInterception
public void checkMethodLevelBusinessMethodInterception()
throws TestFailureException
- Throws:
TestFailureException
checkMethodLevelCreateMethodInterception
public void checkMethodLevelCreateMethodInterception()
throws TestFailureException
- Throws:
TestFailureException
checkClassLevelBusinessMethodInterception
public void checkClassLevelBusinessMethodInterception()
throws TestFailureException
- Throws:
TestFailureException
checkClassLevelCreateMethodInterception
public void checkClassLevelCreateMethodInterception()
throws TestFailureException
- Throws:
TestFailureException
ejbRemove
public void ejbRemove()
throws javax.ejb.EJBException
- Specified by:
ejbRemove
in interface javax.ejb.MessageDrivenBean
- Throws:
javax.ejb.EJBException
setMessageDrivenContext
public void setMessageDrivenContext(javax.ejb.MessageDrivenContext ctx)
throws javax.ejb.EJBException
- Specified by:
setMessageDrivenContext
in interface javax.ejb.MessageDrivenBean
- Throws:
javax.ejb.EJBException
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.