org.apache.cxf.jca.cxf
Class ManagedConnectionFactoryImpl
java.lang.Object
org.apache.cxf.jca.core.resourceadapter.ResourceBean
org.apache.cxf.jca.core.resourceadapter.AbstractManagedConnectionFactoryImpl
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
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 |
jcaBusFactory
protected JCABusFactory jcaBusFactory
ManagedConnectionFactoryImpl
public ManagedConnectionFactoryImpl()
ManagedConnectionFactoryImpl
public ManagedConnectionFactoryImpl(Properties props)
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