Package org.apache.cxf.jca.outbound
Class ManagedConnectionFactoryImpl
- java.lang.Object
-
- org.apache.cxf.jca.outbound.ManagedConnectionFactoryImpl
-
- All Implemented Interfaces:
Serializable,javax.resource.spi.ManagedConnectionFactory,javax.resource.spi.ResourceAdapterAssociation
public class ManagedConnectionFactoryImpl extends Object implements javax.resource.spi.ManagedConnectionFactory, javax.resource.spi.ResourceAdapterAssociation
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ManagedConnectionFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectcreateConnectionFactory()ObjectcreateConnectionFactory(javax.resource.spi.ConnectionManager connMgr)javax.resource.spi.ManagedConnectioncreateManagedConnection(Subject subject, javax.resource.spi.ConnectionRequestInfo connReqInfo)booleanequals(Object o)StringgetBusConfigURL()PrintWritergetLogWriter()javax.resource.spi.ResourceAdaptergetResourceAdapter()javax.resource.spi.work.WorkManagergetWorkManager()inthashCode()javax.resource.spi.ManagedConnectionmatchManagedConnections(Set mcs, Subject subject, javax.resource.spi.ConnectionRequestInfo reqInfo)voidsetBusConfigURL(String busConfigURL)voidsetLogWriter(PrintWriter aPrintWriter)voidsetResourceAdapter(javax.resource.spi.ResourceAdapter ra)
-
-
-
Method Detail
-
setBusConfigURL
public void setBusConfigURL(String busConfigURL)
-
getBusConfigURL
public String getBusConfigURL()
-
createConnectionFactory
public Object createConnectionFactory() throws javax.resource.ResourceException
- Specified by:
createConnectionFactoryin interfacejavax.resource.spi.ManagedConnectionFactory- Throws:
javax.resource.ResourceException
-
createConnectionFactory
public Object createConnectionFactory(javax.resource.spi.ConnectionManager connMgr) throws javax.resource.ResourceException
- Specified by:
createConnectionFactoryin interfacejavax.resource.spi.ManagedConnectionFactory- Throws:
javax.resource.ResourceException
-
createManagedConnection
public 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
-
hashCode
public int hashCode()
-
equals
public boolean equals(Object o)
-
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
-
matchManagedConnections
public javax.resource.spi.ManagedConnection matchManagedConnections(Set mcs, Subject subject, javax.resource.spi.ConnectionRequestInfo reqInfo) throws javax.resource.ResourceException
- Specified by:
matchManagedConnectionsin interfacejavax.resource.spi.ManagedConnectionFactory- Throws:
javax.resource.ResourceException
-
getResourceAdapter
public javax.resource.spi.ResourceAdapter getResourceAdapter()
- Specified by:
getResourceAdapterin interfacejavax.resource.spi.ResourceAdapterAssociation
-
setResourceAdapter
public void setResourceAdapter(javax.resource.spi.ResourceAdapter ra) throws javax.resource.ResourceException- Specified by:
setResourceAdapterin interfacejavax.resource.spi.ResourceAdapterAssociation- Throws:
javax.resource.ResourceException
-
getWorkManager
public javax.resource.spi.work.WorkManager getWorkManager()
-
-