com.sapportals.portal.ivs.cg

Interface IConnectorInvestigatorService

All Superinterfaces:
IService

public interface IConnectorInvestigatorService
extends IService

This interface allows to investigate the connectors and exposes connector's APIs.


Method Summary
 NamingEnumeration getConnectionFactories()
          Searches for deployed connectors.
 IConnectionFactory getConnectionFactory(String connectionFactoryName)
          Get the connection factory according to the connector name
 IConnectionSpec getConnectionSpec(IConnectionFactory connectionFactory)
          Retrieves the connection spec which describes the attributes needed by the connector in order to connect to the back end system.
 IConnectorMetaData getMetaDataEx(String connectionFactoryName)
          Exposes IConnectionFactory.getMetaDataEx()
 
Methods inherited from interface com.sapportals.portal.prt.service.IService
afterInit, configure, destroy, getContext, getKey, init, release
 

Method Detail

getConnectionSpec

IConnectionSpec getConnectionSpec(IConnectionFactory connectionFactory)
                                  throws ConnectorException
Retrieves the connection spec which describes the attributes needed by the connector in order to connect to the back end system.

Parameters:
connectionFactory - The factory of the connector which can be obtained from
public IConnectionFactory getConnectionFactory (String connectionFactoryName) throws Exception
Returns:
com.sapportals.connector.connection.IConnectionSpec
Throws:
ConnectorException
Since:
6.0

getConnectionFactories

NamingEnumeration getConnectionFactories()
                                         throws NamingException
Searches for deployed connectors.

Returns:
NamingEnumeration of NameClassPair objects.
Throws:
NamingException - if a naming exception is encountered.
NamingException
Since:
6.0

getMetaDataEx

IConnectorMetaData getMetaDataEx(String connectionFactoryName)
                                 throws Exception
Exposes IConnectionFactory.getMetaDataEx()

Returns:
IConnectorMetaData
Throws:
Exception - if an exception is encountered.
Exception
Since:
6.0

getConnectionFactory

IConnectionFactory getConnectionFactory(String connectionFactoryName)
                                        throws com.sap.security.api.umap.NoLogonDataAvailableException
Get the connection factory according to the connector name

Parameters:
connectionFactoryName - The connector factory name.
Returns:
The IConnectionFactory of the connector factory.
Throws:
Exception - if an exception is encountered.
com.sap.security.api.umap.NoLogonDataAvailableException
Since:
6.0
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-RUNTIME [sap.com] tc/ep/connectivity/services/api api EP-PIN


Copyright 2015 SAP AG Complete Copyright Notice