com.adobe.idp.dsc.registry.connector
Interface ConnectorStore


public interface ConnectorStore

Enables the creation of a Java object that performs tasks related to connectors. One task that can be performed is retrieving a list of connectors. A connector enables an endpoint to invoke a service using various invocation methods. For example, an Email connector enables an endpoint to invoke a service using email messages.


Method Summary
 Connector create(Connector aConnector)
          Creates a connector.
 Connector getConnector(java.lang.String connectorId)
          Retrieves a connector that corresponds to a specified identifier value.
 java.util.List getConnectors()
          Retrieves a list of all connectors supported by the service container.
 void remove(Connector aConnector)
          Removes an existing connector.
 

Method Detail

getConnectors

java.util.List getConnectors()
Retrieves a list of all connectors supported by the service container.

Returns:
A java.util.List that contains supported connectors. Each element is a Connector object.
See Also:
Connector

getConnector

Connector getConnector(java.lang.String connectorId)
                       throws ConnectorNotFoundException
Retrieves a connector that corresponds to a specified identifier value.

Parameters:
connectorId - An identifier value that is used to retrieve a specific connector.
Returns:
A Connector object that corresponds to the identifier value.
Throws:
ConnectorNotFoundException - If the specified identifier value does not correspond to a valid connector.
See Also:
Connector

create

Connector create(Connector aConnector)
                 throws DuplicateConnectorException,
                        com.adobe.idp.dsc.DSCRuntimeException
Creates a connector.

Parameters:
aConnector - A Connector object that represents the new connector to create.
Returns:
A Connector object that represents the new connector.
Throws:
DuplicateConnectorException - If the specified connector already exists.
com.adobe.idp.dsc.DSCRuntimeException - If a run-time error occurred.
See Also:
Connector

remove

void remove(Connector aConnector)
            throws ConnectorNotFoundException
Removes an existing connector. All endpoints that use this connector are automatically removed.

Parameters:
aConnector - A Connector object that represents the connector to remove.
Throws:
ConnectorNotFoundException - If the specified connector does not exist.
See Also:
Connector


[an error occurred while processing this directive] [an error occurred while processing this directive]