Apache CXF API

org.apache.cxf.jca.cxf
Class ManagedConnectionFactoryImpl

java.lang.Object
  extended by org.apache.cxf.jca.core.resourceadapter.ResourceBean
      extended by org.apache.cxf.jca.core.resourceadapter.AbstractManagedConnectionFactoryImpl
          extended by org.apache.cxf.jca.cxf.ManagedConnectionFactoryImpl
All Implemented Interfaces:
Serializable, javax.resource.spi.ManagedConnectionFactory, CXFManagedConnectionFactory
Direct Known Subclasses:
AssociatedManagedConnectionFactoryImpl

public class ManagedConnectionFactoryImpl
extends AbstractManagedConnectionFactoryImpl
implements CXFManagedConnectionFactory

See Also:
Serialized Form

Field Summary
protected  JCABusFactory jcaBusFactory
           
 
Fields inherited from class org.apache.cxf.jca.core.resourceadapter.ResourceBean
DEFAULT_MONITOR_POLL_INTERVAL, DEFAULT_VALUE_STRING, EJB_SERVANT_BASE_URL, EJB_SERVICE_PROPERTIES_URL, LOG_LEVEL, MONITOR_EJB_SERVICE_PROPERTIES, MONITOR_POLL_INTERVAL
 
Constructor Summary
ManagedConnectionFactoryImpl()
           
ManagedConnectionFactoryImpl(Properties props)
           
 
Method Summary
 void close()
           
 Object createConnectionFactory()
           
 Object createConnectionFactory(javax.resource.spi.ConnectionManager connMgr)
           
 javax.resource.spi.ManagedConnection createManagedConnection(Subject subject, javax.resource.spi.ConnectionRequestInfo connReqInfo)
           
protected  Object getBootstrapContext()
           
 Bus getBus()
           
 String getEJBServantBaseURL()
           
 Integer getEJBServicePropertiesPollInterval()
           
 String getEJBServicePropertiesURL()
           
 URL getEJBServicePropertiesURLInstance()
           
 String getLogLevel()
           
 Boolean getMonitorEJBServiceProperties()
           
protected  void init(ClassLoader appserverClassLoader)
           
 void setEJBServantBaseURL(String url)
           
 void setEJBServicePropertiesPollInterval(Integer pollInterval)
           
 void setEJBServicePropertiesURL(String name)
           
 void setLogLevel(String logLevel)
           
 void setMonitorEJBServiceProperties(Boolean monitor)
           
protected  void validateReference(AbstractManagedConnectionImpl conn, Subject subj)
           
 
Methods inherited from class org.apache.cxf.jca.core.resourceadapter.AbstractManagedConnectionFactoryImpl
getLogWriter, matchManagedConnections, setLogWriter
 
Methods inherited from class org.apache.cxf.jca.core.resourceadapter.ResourceBean
createURL, getPluginProps, getPropsURL, setDisableConsoleLogging, setProperty, validateURLString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.resource.spi.ManagedConnectionFactory
equals, getLogWriter, hashCode, matchManagedConnections, setLogWriter
 

Field Detail

jcaBusFactory

protected JCABusFactory jcaBusFactory
Constructor Detail

ManagedConnectionFactoryImpl

public ManagedConnectionFactoryImpl()

ManagedConnectionFactoryImpl

public ManagedConnectionFactoryImpl(Properties props)
Method Detail

setLogLevel

public void setLogLevel(String logLevel)

setEJBServicePropertiesURL

public void setEJBServicePropertiesURL(String name)

setMonitorEJBServiceProperties

public void setMonitorEJBServiceProperties(Boolean monitor)

setEJBServicePropertiesPollInterval

public void setEJBServicePropertiesPollInterval(Integer pollInterval)

getLogLevel

public String getLogLevel()

getEJBServicePropertiesURL

public String getEJBServicePropertiesURL()

getMonitorEJBServiceProperties

public Boolean getMonitorEJBServiceProperties()

getEJBServicePropertiesPollInterval

public Integer getEJBServicePropertiesPollInterval()

getEJBServicePropertiesURLInstance

public URL getEJBServicePropertiesURLInstance()
                                       throws javax.resource.ResourceException
Throws:
javax.resource.ResourceException

getEJBServantBaseURL

public String getEJBServantBaseURL()
                            throws javax.resource.ResourceException
Throws:
javax.resource.ResourceException

setEJBServantBaseURL

public void setEJBServantBaseURL(String url)
                          throws javax.resource.ResourceException
Throws:
javax.resource.ResourceException

validateReference

protected void validateReference(AbstractManagedConnectionImpl conn,
                                 Subject subj)
Specified by:
validateReference in class AbstractManagedConnectionFactoryImpl

createConnectionFactory

public Object createConnectionFactory()
                               throws javax.resource.ResourceException
Specified by:
createConnectionFactory in interface javax.resource.spi.ManagedConnectionFactory
Specified by:
createConnectionFactory in class AbstractManagedConnectionFactoryImpl
Throws:
javax.resource.ResourceException

createConnectionFactory

public Object createConnectionFactory(javax.resource.spi.ConnectionManager connMgr)
                               throws javax.resource.ResourceException
Specified by:
createConnectionFactory in interface javax.resource.spi.ManagedConnectionFactory
Specified by:
createConnectionFactory in class AbstractManagedConnectionFactoryImpl
Throws:
javax.resource.ResourceException

createManagedConnection

public javax.resource.spi.ManagedConnection createManagedConnection(Subject subject,
                                                                    javax.resource.spi.ConnectionRequestInfo connReqInfo)
                                                             throws javax.resource.ResourceException
Specified by:
createManagedConnection in interface javax.resource.spi.ManagedConnectionFactory
Specified by:
createManagedConnection in class AbstractManagedConnectionFactoryImpl
Throws:
javax.resource.ResourceException

close

public void close()
           throws javax.resource.spi.ResourceAdapterInternalException
Specified by:
close in class AbstractManagedConnectionFactoryImpl
Throws:
javax.resource.spi.ResourceAdapterInternalException

init

protected void init(ClassLoader appserverClassLoader)
             throws javax.resource.ResourceException
Throws:
javax.resource.ResourceException

getBus

public Bus getBus()

getBootstrapContext

protected Object getBootstrapContext()

Apache CXF API

Apache CXF