|
||||||||||
| 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 (src)
org.jboss.ejb.plugins.LogInterceptor
An interceptor used to log all invocations. It also handles any unexpected exceptions.
| Field Summary | |
protected boolean |
callLogging
|
protected java.lang.String |
ejbName
|
| Fields inherited from class org.jboss.ejb.plugins.AbstractInterceptor (src) |
container, log, nextInterceptor |
| Constructor Summary | |
LogInterceptor()
|
|
| Method Summary | |
void |
create()
create the service, do expensive operations etc |
java.lang.Object |
invoke(Invocation (src) invocation)
This method logs the method, calls the next invoker, and handles any exception. |
java.lang.Object |
invokeHome(Invocation (src) invocation)
This method logs the method, calls the next invoker, and handles any exception. |
| Methods inherited from class org.jboss.ejb.plugins.AbstractInterceptor (src) |
destroy, getContainer, getNext, setContainer, setNext, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String ejbName
protected boolean callLogging
| Constructor Detail |
public LogInterceptor()
| Method Detail |
public void create()
throws java.lang.Exception
Service (src)
create in interface Service (src) create in class AbstractInterceptor (src) java.lang.Exception
public java.lang.Object invokeHome(Invocation (src) invocation)
throws java.lang.Exception
invokeHome in interface Interceptor (src) invokeHome in class AbstractInterceptor (src) invocation - contain all infomation necessary to carry out the
invocation
java.lang.Exception - if an exception during the invocation
public java.lang.Object invoke(Invocation (src) invocation)
throws java.lang.Exception
invoke in interface Interceptor (src) invoke in class AbstractInterceptor (src) invocation - contain all infomation necessary to carry out the
invocation
java.lang.Exception - if an exception during the invocation
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||