|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.ejb.plugins.AbstractInterceptor
An abstract base class for container interceptors.
| Field Summary | |
protected Container |
container
The container the interceptor is associated with |
protected org.jboss.logging.Logger |
log
Logging instance |
protected Interceptor |
nextInterceptor
The next interceptor in the chain. |
| Constructor Summary | |
AbstractInterceptor()
|
|
| Method Summary | |
void |
create()
|
void |
destroy()
|
Container |
getContainer()
|
Interceptor |
getNext()
Get the next interceptor in the chain. |
Object |
invoke(Invocation mi)
??? |
Object |
invokeHome(Invocation mi)
??? |
void |
setContainer(Container container)
This callback is set by the container so that the plugin may access it |
void |
setNext(Interceptor interceptor)
Set the next interceptor in the chain. |
void |
start()
|
void |
stop()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Interceptor nextInterceptor
protected org.jboss.logging.Logger log
protected Container container
| Constructor Detail |
public AbstractInterceptor()
| Method Detail |
public void setContainer(Container container)
ContainerPlugin
setContainer in interface ContainerPlugincontainer - The container using this plugin. This may be null if the
plugin is being disassociated from a container.public Container getContainer()
public void setNext(Interceptor interceptor)
Interceptor
setNext in interface Interceptorinterceptor - The next interceptor in the chain.public Interceptor getNext()
Interceptor
getNext in interface Interceptor
public void create()
throws Exception
create in interface org.jboss.system.ServiceException
public void start()
throws Exception
start in interface org.jboss.system.ServiceExceptionpublic void stop()
stop in interface org.jboss.system.Servicepublic void destroy()
destroy in interface org.jboss.system.Service
public Object invokeHome(Invocation mi)
throws Exception
Interceptor
invokeHome in interface Interceptormi - ???
Exception - ???
public Object invoke(Invocation mi)
throws Exception
Interceptor
invoke in interface Interceptormi - ???
Exception - ???
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||