Apache CXF API

org.apache.cxf.jca.core.resourceadapter
Class AbstractManagedConnectionFactoryImpl

java.lang.Object
  extended by org.apache.cxf.jca.core.resourceadapter.ResourceBean
      extended by 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
AbstractManagedConnectionFactoryImpl()
           
AbstractManagedConnectionFactoryImpl(Properties props)
           
 
Method Summary
abstract  void close()
           
abstract  Object createConnectionFactory()
           
abstract  Object createConnectionFactory(javax.resource.spi.ConnectionManager connMgr)
           
abstract  javax.resource.spi.ManagedConnection createManagedConnection(Subject subject, javax.resource.spi.ConnectionRequestInfo connReqInfo)
           
 PrintWriter getLogWriter()
           
 javax.resource.spi.ManagedConnection matchManagedConnections(Set aMCSet, Subject subject, javax.resource.spi.ConnectionRequestInfo crInfo)
           
 void setLogWriter(PrintWriter aPrintWriter)
           
protected abstract  void validateReference(AbstractManagedConnectionImpl conn, Subject subject)
           
 
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, hashCode
 

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:
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 API

Apache CXF