public class TopologyImpl extends Object implements Topology
| Modifier and Type | Field and Description |
|---|---|
protected CiliaContainer |
ciliaContainer |
| Constructor and Description |
|---|
TopologyImpl(CiliaContainer cc) |
| Modifier and Type | Method and Description |
|---|---|
Node[] |
connectedTo(Node node) |
Node[] |
connectedTo(Node node,
boolean proxy) |
Node[] |
connectedTo(String ldapFilter)
return array of node matching the filter
|
Node[] |
connectedTo(String ldapFilter,
boolean proxy)
return array of node matching the filter
|
Node[] |
endpointIn(String ldapFilter) |
Node[] |
endpointIn(String ldapFilter,
boolean proxy) |
Node[] |
endpointOut(String ldapFilter) |
Node[] |
endpointOut(String ldapFilter,
boolean proxy) |
Node[] |
findNodeByFilter(String ldapFilter)
Retreives all nodes matching the filter
|
Node[] |
findNodeByFilter(String ldapFilter,
boolean proxy)
Retreives all nodes matching the filter
|
Chain |
getChain(String chainId) |
String[] |
getChainId() |
MediatorComponent |
getModel(Node node) |
protected Node[] |
getNextNodes(Binding[] bindings,
Node node,
boolean proxy) |
Node[] |
nodeByType(String type) |
protected CiliaContainer ciliaContainer
public TopologyImpl(CiliaContainer cc)
public Node[] findNodeByFilter(String ldapFilter, boolean proxy) throws CiliaInvalidSyntaxException, CiliaIllegalParameterException
findNodeByFilter in interface TopologyldapFilter - , keywords = uuid, chain, nodeproxy - if true return a proxy weak reference ( recommanded )CiliaInvalidSyntaxException - , ldap syntax errorCiliaIllegalParameterExceptionpublic Node[] findNodeByFilter(String ldapFilter) throws CiliaInvalidSyntaxException, CiliaIllegalParameterException
findNodeByFilter in interface TopologyldapFilter - , keywords = uuid, chain, nodeCiliaInvalidSyntaxException - , ldap syntax errorCiliaIllegalParameterExceptionpublic Node[] connectedTo(String ldapFilter) throws CiliaInvalidSyntaxException, CiliaIllegalParameterException
connectedTo in interface TopologyldapFilter - ldap filters keywords (chain,node,uuid) uuid is relevant only
for dynamic components ( SetUp,RawData,Threshold)CiliaInvalidSyntaxException - LDAP syntax errorCiliaIllegalParameterException - null parameterpublic Node[] connectedTo(String ldapFilter, boolean proxy) throws CiliaInvalidSyntaxException, CiliaIllegalParameterException
connectedTo in interface TopologyldapFilter - ldap filters keywords (chain,node,uuid) uuid is relevant only
for dynamic components ( SetUp,RawData,Threshold)CiliaInvalidSyntaxException - LDAP syntax errorCiliaIllegalParameterException - null parameterpublic Node[] connectedTo(Node node) throws CiliaIllegalStateException, CiliaIllegalParameterException
connectedTo in interface Topologynode - node referenceCiliaIllegalStateException - the node doesn't existCiliaIllegalParameterExceptionpublic Node[] connectedTo(Node node, boolean proxy) throws CiliaIllegalStateException, CiliaIllegalParameterException
connectedTo in interface Topologynode - node referenceCiliaIllegalStateException - the node doesn't existCiliaIllegalParameterExceptionprotected Node[] getNextNodes(Binding[] bindings, Node node, boolean proxy) throws CiliaIllegalStateException
CiliaIllegalStateExceptionpublic MediatorComponent getModel(Node node) throws CiliaIllegalParameterException, CiliaIllegalStateException
public Node[] endpointIn(String ldapFilter) throws CiliaInvalidSyntaxException, CiliaIllegalParameterException
endpointIn in interface TopologyldapFilter - ldap filters keywords (chain,node,uuid) uuid is relevant only
for dynamic components ( SetUp,RawData,Threshold)CiliaInvalidSyntaxException - LDAP syntax errorCiliaIllegalParameterException - null parameterpublic Node[] endpointIn(String ldapFilter, boolean proxy) throws CiliaInvalidSyntaxException, CiliaIllegalParameterException
endpointIn in interface TopologyldapFilter - ldap filters keywords (chain,node,uuid) uuid is relevant only
for dynamic components ( SetUp,RawData,Threshold)CiliaInvalidSyntaxException - LDAP syntax errorCiliaIllegalParameterException - null parameterpublic Node[] endpointOut(String ldapFilter) throws CiliaInvalidSyntaxException, CiliaIllegalParameterException
endpointOut in interface TopologyldapFilter - ldap filters keywords (chain,node,uuid) uuid is relevant only
for dynamic components ( SetUp,RawData,Threshold)CiliaInvalidSyntaxException - LDAP syntax errorCiliaIllegalParameterException - null parameterpublic Node[] endpointOut(String ldapFilter, boolean proxy) throws CiliaInvalidSyntaxException, CiliaIllegalParameterException
endpointOut in interface TopologyldapFilter - ldap filters keywords (chain,node,uuid) uuid is relevant only
for dynamic components ( SetUp,RawData,Threshold)CiliaInvalidSyntaxException - LDAP syntax errorCiliaIllegalParameterException - null parameterpublic String[] getChainId()
public Chain getChain(String chainId) throws CiliaIllegalParameterException
CiliaIllegalParameterExceptionpublic Node[] nodeByType(String type) throws CiliaIllegalParameterException
nodeByType in interface Topologytype - CiliaIllegalParameterExceptionCopyright © 2012-2013 Adele Team | LIG. All Rights Reserved.