|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConnectorRegistry
Enables the creation of a Java object that provides the ability to perform tasks such as querying information about supported 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.
Field Summary | |
---|---|
static java.lang.String |
SERVICE_ID
Represents the service identifier value. |
Method Summary | |
---|---|
Connector |
create(Connector aConnector)
Creates a new connector. |
Connector |
getConnector(java.lang.String aConnectorId)
Retrieves a connector that corresponds to the specified identifier value. |
java.util.List |
getConnectors()
Returns a list of supported connectors defined in the service container. |
Endpoint |
getEndpointDefinition(java.lang.String connectorId)
Retrieves the endpoint definition that corresponds to the specified connector identifier. |
void |
remove(Connector aConnector)
Removes an existing connector. |
Field Detail |
---|
static final java.lang.String SERVICE_ID
Method Detail |
---|
java.util.List getConnectors()
java.util.List
object that contains a list of supported connectors.
Each element is a Connector
object.Connector
Connector getConnector(java.lang.String aConnectorId) throws ConnectorNotFoundException
aConnectorId
- A unique identifier value used to query a valid connector.
Connector
object that represents the connector that corresponds to the specified identifier value.
ConnectorNotFoundException
- If the identifier value does not correspond to a connector.Connector
Endpoint getEndpointDefinition(java.lang.String connectorId)
connectorId
- The connector identifier value.
Endpoint
object that corresponds to connector identifier value.Endpoint
Connector create(Connector aConnector) throws DuplicateConnectorException, com.adobe.idp.dsc.DSCRuntimeException
aConnector
- A Connector
object that represents a new connector that an endpoint can use.
Connector
object that represents the new connector that is defined in the service container.
DuplicateConnectorException
- If the connector already exists.
com.adobe.idp.dsc.DSCRuntimeException
- If a run-time error occurs.Connector
void remove(Connector aConnector) throws ConnectorNotFoundException
aConnector
- A Connector
object that represents the connector to remove.
ConnectorNotFoundException
- If the specified connector does not exist.Connector
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |