org.springframework.jca.endpoint
Class GenericMessageEndpointFactory.GenericMessageEndpoint

java.lang.Object
  extended by org.springframework.jca.endpoint.AbstractMessageEndpointFactory.AbstractMessageEndpoint
      extended by org.springframework.jca.endpoint.GenericMessageEndpointFactory.GenericMessageEndpoint
Enclosing class:
GenericMessageEndpointFactory

private class GenericMessageEndpointFactory.GenericMessageEndpoint
extends AbstractMessageEndpointFactory.AbstractMessageEndpoint

Private inner class that implements the concrete generic message endpoint, as an AOP Alliance MethodInterceptor that will be invoked by a proxy.


Constructor Summary
private GenericMessageEndpointFactory.GenericMessageEndpoint()
           
 
Method Summary
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)
           
 
Methods inherited from class org.springframework.jca.endpoint.AbstractMessageEndpointFactory.AbstractMessageEndpoint
afterDelivery, beforeDelivery, hasBeforeDeliveryBeenCalled, initXAResource, onEndpointException, release
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericMessageEndpointFactory.GenericMessageEndpoint

private GenericMessageEndpointFactory.GenericMessageEndpoint()
Method Detail

invoke

public java.lang.Object invoke(MethodInvocation methodInvocation)
                        throws java.lang.Throwable
Throws:
java.lang.Throwable

getEndpointClassLoader

protected java.lang.ClassLoader getEndpointClassLoader()
Description copied from class: AbstractMessageEndpointFactory.AbstractMessageEndpoint
Template method for exposing the endpoint's ClassLoader (typically the ClassLoader that the message listener class has been loaded with).

Specified by:
getEndpointClassLoader in class AbstractMessageEndpointFactory.AbstractMessageEndpoint
Returns:
the endpoint ClassLoader (never null)