org.apache.openejb.core.mdb
Class EndpointFactory

java.lang.Object
  extended by org.apache.openejb.core.mdb.EndpointFactory
All Implemented Interfaces:
javax.resource.spi.endpoint.MessageEndpointFactory

public class EndpointFactory
extends Object
implements javax.resource.spi.endpoint.MessageEndpointFactory


Constructor Summary
EndpointFactory(javax.resource.spi.ActivationSpec activationSpec, MdbContainer container, CoreDeploymentInfo deploymentInfo, MdbInstanceFactory instanceFactory, boolean txRecovery)
           
 
Method Summary
 javax.resource.spi.endpoint.MessageEndpoint createEndpoint(XAResource xaResource)
           
 javax.resource.spi.ActivationSpec getActivationSpec()
           
 MdbInstanceFactory getInstanceFactory()
           
 boolean isDeliveryTransacted(Method method)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EndpointFactory

public EndpointFactory(javax.resource.spi.ActivationSpec activationSpec,
                       MdbContainer container,
                       CoreDeploymentInfo deploymentInfo,
                       MdbInstanceFactory instanceFactory,
                       boolean txRecovery)
Method Detail

getActivationSpec

public javax.resource.spi.ActivationSpec getActivationSpec()

getInstanceFactory

public MdbInstanceFactory getInstanceFactory()

createEndpoint

public javax.resource.spi.endpoint.MessageEndpoint createEndpoint(XAResource xaResource)
                                                           throws javax.resource.spi.UnavailableException
Specified by:
createEndpoint in interface javax.resource.spi.endpoint.MessageEndpointFactory
Throws:
javax.resource.spi.UnavailableException

isDeliveryTransacted

public boolean isDeliveryTransacted(Method method)
                             throws NoSuchMethodException
Specified by:
isDeliveryTransacted in interface javax.resource.spi.endpoint.MessageEndpointFactory
Throws:
NoSuchMethodException


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.