org.jboss.ejb.plugins
Class MessageDrivenInstanceInterceptor
java.lang.Object
|
+--org.jboss.ejb.plugins.AbstractInterceptor
|
+--org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor
|
+--org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor
- All Implemented Interfaces:
- ContainerPlugin, Interceptor, Service
- public class MessageDrivenInstanceInterceptor
- extends StatelessSessionInstanceInterceptor
This container acquires the given instance. This must be used after
the EnvironmentInterceptor, since acquiring instances requires a proper
JNDI environment to be set
For MessageDriven Beans, we inherit the StatelessSession for now,
since message driven beans is much like them
- Version:
- $Revision: 1.3 $
- Author:
- Peter Antman (peter.antman@tim.se), Rickard Öberg (rickard.oberg@telkel.com)
- See Also:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
container
protected MessageDrivenContainer container
MessageDrivenInstanceInterceptor
public MessageDrivenInstanceInterceptor()
setContainer
public void setContainer(Container container)
- Description copied from interface:
ContainerPlugin
- This callback is set by the container so that the plugin may access it
- Overrides:
setContainer
in class StatelessSessionInstanceInterceptor
- Following copied from interface:
org.jboss.ejb.ContainerPlugin
- Parameters:
con
- the container using this plugin
invokeHome
public java.lang.Object invokeHome(MethodInvocation mi)
throws java.lang.Exception
- Overrides:
invokeHome
in class StatelessSessionInstanceInterceptor
invoke
public java.lang.Object invoke(MethodInvocation mi)
throws java.lang.Exception
- Overrides:
invoke
in class StatelessSessionInstanceInterceptor
Copyright © 2000 The JBoss Organization. All Rights Reserved.