org.apache.cxf.jca.core.resourceadapter
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
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, hashCode |
AbstractManagedConnectionFactoryImpl
public AbstractManagedConnectionFactoryImpl()
AbstractManagedConnectionFactoryImpl
public AbstractManagedConnectionFactoryImpl(Properties props)
createConnectionFactory
public abstract Object createConnectionFactory(javax.resource.spi.ConnectionManager connMgr)
throws javax.resource.ResourceException
- Specified by:
createConnectionFactory
in interface javax.resource.spi.ManagedConnectionFactory
- Throws:
javax.resource.ResourceException
createConnectionFactory
public abstract Object createConnectionFactory()
throws javax.resource.ResourceException
- Specified by:
createConnectionFactory
in interface javax.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:
createManagedConnection
in interface javax.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:
matchManagedConnections
in interface javax.resource.spi.ManagedConnectionFactory
- Throws:
javax.resource.ResourceException
getLogWriter
public PrintWriter getLogWriter()
throws javax.resource.ResourceException
- Specified by:
getLogWriter
in interface javax.resource.spi.ManagedConnectionFactory
- Throws:
javax.resource.ResourceException
setLogWriter
public void setLogWriter(PrintWriter aPrintWriter)
throws javax.resource.ResourceException
- Specified by:
setLogWriter
in interface javax.resource.spi.ManagedConnectionFactory
- Throws:
javax.resource.ResourceException
Apache CXF