Deployer
Interface DeployerAPI


public interface DeployerAPI

API of the enabler that deploys Connector in the e

Author:
Paul Grace

Method Summary
 int Deploy(java.lang.String[] Models)
          Deploy a new connector in the environment.
 eventMOP eventAPI(int Identifier)
          Obtain the MOP to observe and adapt events from a specific connector.
 BehaviourMOP getReflectionAPI(int Identifier)
          Obtain the Meta Object Protocol of a specific connector in order to inspect and adapt the behaviour of the
 boolean Undeploy(int Identifier)
          Remove a previously deployed connector.
 

Method Detail

Deploy

int Deploy(java.lang.String[] Models)
Deploy a new connector in the environment.

Parameters:
Models - List of automata xml documents that compose a connector.
Returns:
the unique identifier of the deployed connector

Undeploy

boolean Undeploy(int Identifier)
Remove a previously deployed connector.

Parameters:
Identifier - The ID of the connector to remove.
Returns:
Success indicator.

getReflectionAPI

BehaviourMOP getReflectionAPI(int Identifier)
Obtain the Meta Object Protocol of a specific connector in order to inspect and adapt the behaviour of the

Parameters:
Identifier -
Returns:
The API

eventAPI

eventMOP eventAPI(int Identifier)
Obtain the MOP to observe and adapt events from a specific connector.

Parameters:
Identifier -
Returns:
The API