|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.crispy.server.ServiceEndpointImpl
The default implementation of the ServiceEndpoint
.
Constructor Summary | |
ServiceEndpointImpl()
|
Method Summary | |
InterceptorHandler |
createNewInterceptorHandlerInstance()
If don't set a InterceptorHandlerCreator , than create a new InterceptorHandler instance. |
java.lang.Object |
doInvoke(java.lang.Object pvServiceImpl,
java.lang.reflect.Method pvMethod,
java.lang.Object[] pvArgs,
InterceptorHandler pvInterceptorHandler)
Execute the service with the InvocationHandler with delegate to doInvoke .
|
InterceptorHandlerCreator |
getInterceptorHandlerCreator()
Get a implementation for the interface InterceptorHandlerCreator . |
void |
setInterceptorHandlerCreator(InterceptorHandlerCreator pvCreator)
Set a implementation for the interface InterceptorHandlerCreator . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ServiceEndpointImpl()
Method Detail |
public void setInterceptorHandlerCreator(InterceptorHandlerCreator pvCreator)
ServiceEndpoint
InterceptorHandlerCreator
. It is
equally with the method createNewInterceptorHandlerInstance
.
setInterceptorHandlerCreator
in interface ServiceEndpoint
pvCreator
- public InterceptorHandlerCreator getInterceptorHandlerCreator()
ServiceEndpoint
InterceptorHandlerCreator
.
getInterceptorHandlerCreator
in interface ServiceEndpoint
InterceptorHandlerCreator
implementation.public final InterceptorHandler createNewInterceptorHandlerInstance()
InterceptorHandlerCreator
, than create a new InterceptorHandler
instance.
createNewInterceptorHandlerInstance
in interface ServiceEndpoint
InterceptorHandler
instance.public final java.lang.Object doInvoke(java.lang.Object pvServiceImpl, java.lang.reflect.Method pvMethod, java.lang.Object[] pvArgs, InterceptorHandler pvInterceptorHandler)
ServiceEndpoint
InvocationHandler
with delegate to doInvoke
.
If parameter InterceptorHandler
is null
, then is calling the method createNewInterceptorHandlerInstance
,
else is using the parameter InterceptorHandler
.
doInvoke
in interface ServiceEndpoint
pvServiceImpl
- pvMethod
- pvArgs
- pvInterceptorHandler
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |