private class GenericMessageEndpointFactory.GenericMessageEndpoint extends AbstractMessageEndpointFactory.AbstractMessageEndpoint implements MethodInterceptor
Modifier | Constructor and Description |
---|---|
private |
GenericMessageEndpoint() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.ClassLoader |
getEndpointClassLoader()
Template method for exposing the endpoint's ClassLoader
(typically the ClassLoader that the message listener class
has been loaded with).
|
java.lang.Object |
invoke(MethodInvocation methodInvocation)
Implement this method to perform extra treatments before and
after the invocation.
|
afterDelivery, beforeDelivery, hasBeforeDeliveryBeenCalled, initXAResource, onEndpointException, release
public java.lang.Object invoke(MethodInvocation methodInvocation) throws java.lang.Throwable
MethodInterceptor
Joinpoint.proceed()
.invoke
in interface MethodInterceptor
methodInvocation
- the method invocation joinpointJoinpoint.proceed()
;
might be intercepted by the interceptorjava.lang.Throwable
- if the interceptors or the target object
throws an exceptionprotected java.lang.ClassLoader getEndpointClassLoader()
AbstractMessageEndpointFactory.AbstractMessageEndpoint
getEndpointClassLoader
in class AbstractMessageEndpointFactory.AbstractMessageEndpoint
null
)