Class AbstractManagedConnectionFactoryImpl
- java.lang.Object
-
- org.apache.cxf.jca.core.resourceadapter.ResourceBean
-
- org.apache.cxf.jca.core.resourceadapter.AbstractManagedConnectionFactoryImpl
-
- All Implemented Interfaces:
Serializable,javax.resource.spi.ManagedConnectionFactory
- Direct Known Subclasses:
ManagedConnectionFactoryImpl
public abstract class AbstractManagedConnectionFactoryImpl extends ResourceBean implements javax.resource.spi.ManagedConnectionFactory
- See Also:
- Serialized Form
-
-
Field Summary
-
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
Constructors Constructor Description AbstractManagedConnectionFactoryImpl()AbstractManagedConnectionFactoryImpl(Properties props)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidclose()abstract ObjectcreateConnectionFactory()abstract ObjectcreateConnectionFactory(javax.resource.spi.ConnectionManager connMgr)abstract javax.resource.spi.ManagedConnectioncreateManagedConnection(Subject subject, javax.resource.spi.ConnectionRequestInfo connReqInfo)PrintWritergetLogWriter()javax.resource.spi.ManagedConnectionmatchManagedConnections(Set aMCSet, Subject subject, javax.resource.spi.ConnectionRequestInfo crInfo)voidsetLogWriter(PrintWriter aPrintWriter)protected abstract voidvalidateReference(AbstractManagedConnectionImpl conn, Subject subject)-
Methods inherited from class org.apache.cxf.jca.core.resourceadapter.ResourceBean
createURL, getPluginProps, getPropsURL, setDisableConsoleLogging, setProperty, validateURLString
-
-
-
-
Constructor Detail
-
AbstractManagedConnectionFactoryImpl
public AbstractManagedConnectionFactoryImpl()
-
AbstractManagedConnectionFactoryImpl
public AbstractManagedConnectionFactoryImpl(Properties props)
-
-
Method Detail
-
createConnectionFactory
public abstract Object createConnectionFactory(javax.resource.spi.ConnectionManager connMgr) throws javax.resource.ResourceException
- Specified by:
createConnectionFactoryin interfacejavax.resource.spi.ManagedConnectionFactory- Throws:
javax.resource.ResourceException
-
createConnectionFactory
public abstract Object createConnectionFactory() throws javax.resource.ResourceException
- Specified by:
createConnectionFactoryin interfacejavax.resource.spi.ManagedConnectionFactory- Throws:
javax.resource.ResourceException
-
createManagedConnection
public abstract javax.resource.spi.ManagedConnection createManagedConnection(Subject subject, javax.resource.spi.ConnectionRequestInfo connReqInfo) throws javax.resource.ResourceException
- Specified by:
createManagedConnectionin interfacejavax.resource.spi.ManagedConnectionFactory- Throws:
javax.resource.ResourceException
-
close
public abstract void close() throws javax.resource.spi.ResourceAdapterInternalException- Throws:
javax.resource.spi.ResourceAdapterInternalException
-
validateReference
protected abstract void validateReference(AbstractManagedConnectionImpl conn, Subject subject) throws javax.resource.spi.ResourceAdapterInternalException
- Throws:
javax.resource.spi.ResourceAdapterInternalException
-
matchManagedConnections
public javax.resource.spi.ManagedConnection matchManagedConnections(Set aMCSet, Subject subject, javax.resource.spi.ConnectionRequestInfo crInfo) throws javax.resource.ResourceException
- Specified by:
matchManagedConnectionsin interfacejavax.resource.spi.ManagedConnectionFactory- Throws:
javax.resource.ResourceException
-
getLogWriter
public PrintWriter getLogWriter() throws javax.resource.ResourceException
- Specified by:
getLogWriterin interfacejavax.resource.spi.ManagedConnectionFactory- Throws:
javax.resource.ResourceException
-
setLogWriter
public void setLogWriter(PrintWriter aPrintWriter) throws javax.resource.ResourceException
- Specified by:
setLogWriterin interfacejavax.resource.spi.ManagedConnectionFactory- Throws:
javax.resource.ResourceException
-
-