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 Referenceable
NamingException
public CXFConnection getConnection(CXFConnectionSpec spec) throws javax.resource.ResourceException
CXFConnectionFactory
CXFConnection.close()
when it is no
longer needed.getConnection
in interface CXFConnectionFactory
javax.resource.ResourceException
Apache CXF