CXFConnectionFactory (Apache CXF API 2.5.0.fuse-70-097 API)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cxf.jca.outbound
Interface CXFConnectionFactory

All Superinterfaces:
  Referenceable, Serializable

    public interface CXFConnectionFactory

extends Serializable, javax.resource.Referenceable

Provides methods to create a `CXFConnection` object that provides access to a Web Service defined from the supplied specifications. A CXFConnectionFactory is returned from an environment naming context JNDI lookup by the Application Server.

Method Summary
`CXFConnection` | `getConnection(CXFConnectionSpec spec)` Creates a CXFConnection object which allows access to CXF web service based on the CXFConnectionSpec object.

Methods inherited from interface javax.resource.Referenceable
`setReference`

Methods inherited from interface javax.naming.Referenceable
`getReference`

Method Detail

### getConnection

    CXFConnection getConnection(CXFConnectionSpec spec)
                                throws javax.resource.ResourceException

  Creates a CXFConnection object which allows access to CXF web service based on the CXFConnectionSpec object. Required CXFConnectionSpec fields are wsdlURL, serviceClass, endpointName, and serviceName. Each connection returned by this method MUST be closed by calling the `CXFConnection.close()` when it is no longer needed.

  Parameters:
    `spec` -
  Returns:
    CXFConnection
  Throws:
    `javax.resource.ResourceException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Apache CXF