|
||||||||||
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.CallValidationInterceptor
This Interceptor validates the incomming arguments and the return value of the call. Here is the place where you want to make sure that local object don't pass through the remote interface.
Field Summary |
Fields inherited from class org.jboss.ejb.plugins.AbstractInterceptor (src) |
container, log, nextInterceptor |
Constructor Summary | |
CallValidationInterceptor()
|
Method Summary | |
java.lang.Object |
invoke(Invocation (src) mi)
??? |
java.lang.Object |
invokeHome(Invocation (src) mi)
??? |
protected void |
validateArguments(Invocation (src) mi)
Do some validation of the incoming parameters |
protected java.lang.Object |
validateReturnValue(Invocation (src) mi,
java.lang.Object retValue)
Do some validation of the return value |
Methods inherited from class org.jboss.ejb.plugins.AbstractInterceptor (src) |
create, 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 |
Constructor Detail |
public CallValidationInterceptor()
Method Detail |
public java.lang.Object invokeHome(Invocation (src) mi) throws java.lang.Exception
Interceptor (src)
invokeHome
in interface Interceptor (src)
invokeHome
in class AbstractInterceptor (src)
java.lang.Exception
public java.lang.Object invoke(Invocation (src) mi) throws java.lang.Exception
Interceptor (src)
invoke
in interface Interceptor (src)
invoke
in class AbstractInterceptor (src)
java.lang.Exception
protected void validateArguments(Invocation (src) mi)
protected java.lang.Object validateReturnValue(Invocation (src) mi, java.lang.Object retValue)
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |