|
SAP NetWeaver 7.31 Enterprise Portal (SP 16) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IConnectorGatewayService
The interface for the portal connector gateway service. The service
enables you to connect to back-end systems via the Portal Connector
Framework, using portal system objects
The service provides A connector framework connection - IConnection
(an extension of JCA 1.0) - to connect to an Enterprise Information System (EIS)
which enables executing a function (interaction).
To connect to back-ends defined in other repositories than portal system
landscape, see IDestinationsService
| Field Summary | |
|---|---|
static String |
CONNECTORS_FOLDER
A constant that defines the connectors JNDI root folder. |
static String |
CONNECTORS_SUB_FOLDER
A constant that defines the connectors JNDI sub-folder. |
static String |
KEY
The service key. |
static String |
SERVICE_JNDI_NAME
A constant that defines the JNDI lookup string for this service. |
| Method Summary | |
|---|---|
IConnection |
getConnection(String systemAlias,
ConnectionProperties connectionProperties)
Gets a connector framework connection for the specified system alias. |
NamingEnumeration |
getConnectionFactories()
Gets the names of all deployed connectors. |
IConnectionFactory |
getConnectionFactory(String facotryName)
Gets the connector framework connection factory by name. |
IConnectionSpec |
getConnectionSpec(IConnectionFactory connectionFactory)
Gets a collection of properties that must be specified to connect to a back-end application. |
Connection |
getDistributedConnection(String[] systemAliases,
ConnectionProperties connectionProperties)
Gets a JDBC connection for distributed back-ends. |
| Field Detail |
|---|
static final String KEY
static final String SERVICE_JNDI_NAME
static final String CONNECTORS_FOLDER
static final String CONNECTORS_SUB_FOLDER
| Method Detail |
|---|
IConnection getConnection(String systemAlias,
ConnectionProperties connectionProperties)
throws ConnectorException,
com.sap.security.api.umap.NoLogonDataAvailableException
systemAlias - the system alias for the
back-end applicationconnectionProperties - a properties object from
which user and locale are read
ConnectorException - if the alias is not valid
com.sap.security.api.umap.NoLogonDataAvailableException - if resolving of the necessary
data fails
Connection getDistributedConnection(String[] systemAliases,
ConnectionProperties connectionProperties)
throws SQLException,
ClassNotFoundException,
NamingException,
com.sap.security.api.umap.NoLogonDataAvailableException
systemAliases - array of system aliasesconnectionProperties - a properties object from which user
and locale are read
SQLException - if the SQL connection fails
ClassNotFoundException - if the operation fails
NamingException - if getting the connector's names
fails
com.sap.security.api.umap.NoLogonDataAvailableException - if resolving of the necessary
data fails
IConnectionFactory getConnectionFactory(String facotryName)
throws com.sap.security.api.umap.NoLogonDataAvailableException
facotryName - the connector factory name as
registered in JNDI
com.sap.security.api.umap.NoLogonDataAvailableException - if resolving of the necessary
data fails
IConnectionSpec getConnectionSpec(IConnectionFactory connectionFactory)
throws ConnectorException
connectionFactory - an instance of the connection factory
ConnectorException - if the system does not exist
NamingEnumeration getConnectionFactories()
throws NamingException
NamingException - if getting the connector names fails| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-CONNECTIVITY
|
[sap.com] tc/ep/connectivity/api
|
api
|
EP-VC-CON
|
[sap.com] EP-CONNECTIVITY
|
[sap.com] tc/ep/connectivity/lib/api
|
api
|
EP-VC-CON
|
[sap.com] EP-CONNECTIVITY
|
[sap.com]
|
api
|
EP-VC-CON
|
|
SAP NetWeaver 7.31 Enterprise Portal (SP 16) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||