com.sap.aii.af.lib.ra.cci
Interface XIConnectionFactory
- All Superinterfaces:
- ConnectionFactory, Referenceable, Serializable
public interface XIConnectionFactory
- extends ConnectionFactory
XIConnectionFactory extends the CCI ConnectionFactory by adding a method to create XIConnectionSpec
|
Method Summary |
XIConnectionSpec |
getXIConnectionSpec()
getConnectionSpec() returns a NetWeaver XI CCI connection spec
that can be used to allocate JCA CCI connections. |
XIRecordFactory |
getXIRecordFactory()
getRecordFactory returns a NetWeaver XI specific record factory
that allows to construct NetWeaver specific CCI custom records such as
the XIMessageRecord. |
getXIConnectionSpec
XIConnectionSpec getXIConnectionSpec()
throws NotSupportedException
getConnectionSpec() returns a NetWeaver XI CCI connection spec
that can be used to allocate JCA CCI connections.
JCA 1.0 does not specify how a application can create the ConnectionSpec.
Hence all NetWeaver XI JCA adapters MUST provide a connection spec create method
in the connection factory.
- Throws:
NotSupportedException - Thrown if specified type of connection spec is not supported
getXIRecordFactory
XIRecordFactory getXIRecordFactory()
throws NotSupportedException,
ResourceException
getRecordFactory returns a NetWeaver XI specific record factory
that allows to construct NetWeaver specific CCI custom records such as
the XIMessageRecord.
The CCI connection factory returns a record factory as well. However, according to the
JCA specification it is foreseen for map and index record sets only. But in some
NetWeaver components the usage of custom records such as XIMessageRecord is necessary.
Hence an NetWeaver compliant ra MUST be able to return a record factory that is able to create
custom records of a given type.
- Throws:
NotSupportedException - Thrown if specified type of record factory is not supported
ResourceException - Thrown else, details see exception text
This class can be accessed from:
|
SC
|
DC
|
Public Part
|
ACH
|
[sap.com] SAP_XIAF
|
[sap.com] com.sap.aii.af.lib.facade
|
api
|
BC-XI
|
Copyright 2011 SAP AG Complete Copyright Notice