public interface AdminChain
Modifier and Type | Method and Description |
---|---|
void |
copyComponent(String chainId,
String source,
String destination)
Copy the information of an existing component to another one.
|
void |
createChain(String chain)
Create a new mediation chain contained
|
void |
createEmptyChain(String id)
Create a new initial empty chain chain/
|
boolean |
deleteChain(String id)
Delete a mediation chain.
|
Chain |
getChain(String id)
Retrieve a mediation chain.
|
void |
loadChain(String URI)
Load a mediation chain specified on the given URI string.
|
void |
replaceComponent(String chainId,
String from,
String to)
Replace one component for another and copy his data.
|
boolean |
updateChain(String id,
String... instructions)
It modifies the given mediation chain by using a set of reconfiguration instructions.
|
Chain getChain(String id) throws CiliaIllegalParameterException
id
- The ID of the chain to retrievenull if chain does not exist.
CiliaIllegalParameterException
void createEmptyChain(String id) throws CiliaException
id
- The ID of the new mediation chain.CiliaException
- if the given chain id already exist.void createChain(String chain) throws CiliaException
chain
- CiliaException
void loadChain(String URI) throws CiliaException, CiliaParserException
URI
- The URI where the chain is locatedCiliaException
- If Chain id exist.CiliaParserException
- If the XML containing the mediation chain is not well formed.boolean updateChain(String id, String... instructions) throws CiliaException
id
- The ID of the chain to modifyinstructions
- The set of instructions to which will modify the mediation chain.CiliaException
- if there is any error on the instructions.void copyComponent(String chainId, String source, String destination) throws CiliaException
chainId
- The chain Identification.source
- The id of the component source.destination
- The id of the component destination.CiliaException
void replaceComponent(String chainId, String from, String to) throws CiliaException
chainId
- The chain to modify.from
- the original component.to
- The destination componentCiliaException
boolean deleteChain(String id) throws CiliaIllegalParameterException, CiliaIllegalStateException, BuilderException, BuilderPerformerException
id
- The ID of the chain to be deletedCiliaIllegalStateException
CiliaIllegalParameterException
BuilderException
BuilderPerformerException
Copyright © 2012-2013 Adele Team | LIG. All Rights Reserved.