|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.ejb.Container.AbstractContainerInterceptor
The base class for container interceptors.
All container interceptors perform the same basic functionality and only differ slightly.
Field Summary | |
protected Logger (src) |
log
|
Constructor Summary | |
protected |
Container.AbstractContainerInterceptor()
|
Method Summary | |
void |
create()
create the service, do expensive operations etc |
void |
destroy()
destroy the service, tear down |
Interceptor (src) |
getNext()
Get the next interceptor in the chain. |
void |
resetStatistic()
|
protected void |
rethrow(java.lang.Exception e)
|
java.util.Map |
retrieveStatistic()
|
void |
sample(java.lang.Object s)
|
void |
setContainer(Container (src) con)
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 |
Methods inherited from interface org.jboss.ejb.Interceptor (src) |
invoke, invokeHome |
Field Detail |
protected final Logger (src) log
Constructor Detail |
protected Container.AbstractContainerInterceptor()
Method Detail |
public void setContainer(Container (src) con)
ContainerPlugin (src)
setContainer
in interface ContainerPlugin (src)
con
- The container using this plugin. This may be null if the
plugin is being disassociated from a container.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()
Service (src)
create
in interface Service (src)
public void start()
Service (src)
start
in interface Service (src)
public void stop()
Service (src)
stop
in interface Service (src)
public void destroy()
Service (src)
destroy
in interface Service (src)
protected void rethrow(java.lang.Exception e) throws java.lang.Exception
java.lang.Exception
public void sample(java.lang.Object s)
public java.util.Map retrieveStatistic()
public void resetStatistic()
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |