public interface AdminComponent
Modifier and Type | Method and Description |
---|---|
void |
createAdapter(String chainId,
String componentType,
String componentID,
Map<String,Object> properties)
Create a new adapter component
|
void |
createMediator(String chainId,
String componentType,
String componentID,
Map<String,Object> properties)
Create a new mediator component
|
boolean |
deleteAdapter(String chainId,
String componentId)
Delete an adapter component.
|
boolean |
deleteMediator(String chainId,
String componentId)
Delete a mediator component.
|
Adapter |
getAdapter(String chainid,
String componentId)
Retrieve a mediation component.
|
MediatorComponent |
getComponent(String chainid,
String componentId)
Retrieve a mediation component.
|
Mediator |
getMediator(String chainid,
String componentId)
Retrieve a mediation component.
|
boolean |
isAdapter(String chainId,
String componentId) |
boolean |
isMediator(String chainId,
String componentId) |
void |
updateAdapter(String chainId,
String componentId,
Map properties)
Update an adapter component instance.
|
void |
updateMediator(String chainId,
String componentId,
Map properties)
Update a mediator component instance.
|
MediatorComponent getComponent(String chainid, String componentId) throws CiliaIllegalParameterException
chainid
- The chain where the component is.componentId
- The id of the componentCiliaIllegalParameterException
Mediator getMediator(String chainid, String componentId) throws CiliaIllegalParameterException
chainid
- The chain where the component is.componentId
- The id of the componentCiliaIllegalParameterException
Adapter getAdapter(String chainid, String componentId)
chainid
- The chain where the component is.componentId
- The id of the componentvoid createMediator(String chainId, String componentType, String componentID, Map<String,Object> properties) throws CiliaException
chainId
- The chain where the mediator will be created.componentType
- The mediator type.componentID
- The id of the mediator.properties
- The initial properties.CiliaIllegalParameterException
- If the chain does not exist or if the mediator with the same ID already exist.CiliaException
void createAdapter(String chainId, String componentType, String componentID, Map<String,Object> properties) throws CiliaException
chainId
- The chain where the adapter will be created.componentType
- The adapter type.componentID
- The id of the adapter.properties
- The initial properties.CiliaIllegalParameterException
- If the chain does not exist or if the adapter with the same ID already exist.CiliaException
void updateMediator(String chainId, String componentId, Map properties) throws CiliaException
chainId
- The chain id where the component is located.componentId
- The ID of the component to reconfigure.properties
- The new propertiesCiliaException.
- If the chain or the component does not exist.CiliaException
void updateAdapter(String chainId, String componentId, Map properties) throws CiliaException
chainId
- The chain id where the component is located.componentId
- The ID of the component to reconfigure.properties
- The new propertiesCiliaException.
- If the chain or the component does not exist.CiliaException
boolean deleteMediator(String chainId, String componentId)
chainId
- The chain where the component is.componentId
- The id to the component to delete.boolean deleteAdapter(String chainId, String componentId)
chainId
- The chain where the component is.componentId
- The id to the component to delete.Copyright © 2012-2013 Adele Team | LIG. All Rights Reserved.