|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | 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 (src) |
container
The container the interceptor is associated with |
protected Logger (src) |
log
Logging instance |
protected Interceptor (src) |
nextInterceptor
The next interceptor in the chain. |
Constructor Summary | |
AbstractInterceptor()
|
Method Summary | |
void |
create()
create the service, do expensive operations etc |
void |
destroy()
destroy the service, tear down |
Container (src) |
getContainer()
|
Interceptor (src) |
getNext()
Get the next interceptor in the chain. |
java.lang.Object |
invoke(Invocation (src) mi)
??? |
java.lang.Object |
invokeHome(Invocation (src) mi)
??? |
void |
setContainer(Container (src) container)
This callback is set by the container so that the plugin may access it |
void |
setNext(Interceptor (src) interceptor)
Set the next interceptor in the chain. |
void |
start()
start the service, create is already called |
void |
stop()
stop the service |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Interceptor (src) nextInterceptor
protected Logger (src) log
protected Container (src) container
Constructor Detail |
public AbstractInterceptor()
Method Detail |
public void setContainer(Container (src) container)
ContainerPlugin (src)
setContainer
in interface ContainerPlugin (src)
container
- The container using this plugin. This may be null if the
plugin is being disassociated from a container.public Container (src) getContainer()
public void setNext(Interceptor (src) interceptor)
Interceptor (src)
setNext
in interface Interceptor (src)
interceptor
- The next interceptor in the chain.public Interceptor (src) getNext()
Interceptor (src)
getNext
in interface Interceptor (src)
public void create() throws java.lang.Exception
Service (src)
create
in interface Service (src)
java.lang.Exception
public void start() throws java.lang.Exception
Service (src)
start
in interface Service (src)
java.lang.Exception
public void stop()
Service (src)
stop
in interface Service (src)
public void destroy()
Service (src)
destroy
in interface Service (src)
public java.lang.Object invokeHome(Invocation (src) mi) throws java.lang.Exception
Interceptor (src)
invokeHome
in interface Interceptor (src)
mi
- ???
java.lang.Exception
- ???public java.lang.Object invoke(Invocation (src) mi) throws java.lang.Exception
Interceptor (src)
invoke
in interface Interceptor (src)
mi
- ???
java.lang.Exception
- ???
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |