org.apache.cxf.jca.outbound
Class ConnectionFactoryImpl
java.lang.Object
org.apache.cxf.jca.outbound.ConnectionFactoryImpl
- All Implemented Interfaces:
- java.io.Serializable, javax.naming.Referenceable, org.apache.cxf.jca.outbound.CXFConnectionFactory
public class ConnectionFactoryImpl
- extends java.lang.Object
- implements org.apache.cxf.jca.outbound.CXFConnectionFactory
Implement ConnectionFactory that delegate allocation of connection
to ConnectionManager.
- See Also:
- Serialized Form
|
Constructor Summary |
ConnectionFactoryImpl(javax.resource.spi.ManagedConnectionFactory mcf,
javax.resource.spi.ConnectionManager connectionManager)
|
|
Method Summary |
org.apache.cxf.jca.outbound.CXFConnection |
getConnection(org.apache.cxf.jca.outbound.CXFConnectionSpec spec)
|
javax.naming.Reference |
getReference()
|
void |
setReference(javax.naming.Reference reference)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionFactoryImpl
public ConnectionFactoryImpl(javax.resource.spi.ManagedConnectionFactory mcf,
javax.resource.spi.ConnectionManager connectionManager)
setReference
public void setReference(javax.naming.Reference reference)
getReference
public javax.naming.Reference getReference()
throws javax.naming.NamingException
- Specified by:
getReference in interface javax.naming.Referenceable
- Throws:
javax.naming.NamingException
getConnection
public org.apache.cxf.jca.outbound.CXFConnection getConnection(org.apache.cxf.jca.outbound.CXFConnectionSpec spec)
throws javax.resource.ResourceException
- Specified by:
getConnection in interface org.apache.cxf.jca.outbound.CXFConnectionFactory
- Throws:
javax.resource.ResourceException
Apache CXF