public class ConnectionFactoryImpl extends Object implements CXFConnectionFactory
ConnectionManager.| Constructor and Description |
|---|
ConnectionFactoryImpl(javax.resource.spi.ManagedConnectionFactory mcf,
javax.resource.spi.ConnectionManager connectionManager) |
| Modifier and Type | Method and Description |
|---|---|
CXFConnection |
getConnection(CXFConnectionSpec spec)
Creates a CXFConnection object which allows access to CXF web service based on
the CXFConnectionSpec object.
|
Reference |
getReference() |
void |
setReference(Reference reference) |
public ConnectionFactoryImpl(javax.resource.spi.ManagedConnectionFactory mcf,
javax.resource.spi.ConnectionManager connectionManager)
public void setReference(Reference reference)
public Reference getReference() throws NamingException
getReference in interface ReferenceableNamingExceptionpublic CXFConnection getConnection(CXFConnectionSpec spec) throws javax.resource.ResourceException
CXFConnectionFactoryCXFConnection.close() when it is no
longer needed.getConnection in interface CXFConnectionFactoryjavax.resource.ResourceExceptionApache CXF