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 Topology
ldapFilter
- , keywords = uuid, chain, nodeproxy
- if true return a proxy weak reference ( recommanded )CiliaInvalidSyntaxException
- , ldap syntax errorCiliaIllegalParameterException
public Node[] findNodeByFilter(String ldapFilter) throws CiliaInvalidSyntaxException, CiliaIllegalParameterException
findNodeByFilter
in interface Topology
ldapFilter
- , keywords = uuid, chain, nodeCiliaInvalidSyntaxException
- , ldap syntax errorCiliaIllegalParameterException
public Node[] connectedTo(String ldapFilter) throws CiliaInvalidSyntaxException, CiliaIllegalParameterException
connectedTo
in interface Topology
ldapFilter
- 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 Topology
ldapFilter
- 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 Topology
node
- node referenceCiliaIllegalStateException
- the node doesn't existCiliaIllegalParameterException
public Node[] connectedTo(Node node, boolean proxy) throws CiliaIllegalStateException, CiliaIllegalParameterException
connectedTo
in interface Topology
node
- node referenceCiliaIllegalStateException
- the node doesn't existCiliaIllegalParameterException
protected Node[] getNextNodes(Binding[] bindings, Node node, boolean proxy) throws CiliaIllegalStateException
CiliaIllegalStateException
public MediatorComponent getModel(Node node) throws CiliaIllegalParameterException, CiliaIllegalStateException
public Node[] endpointIn(String ldapFilter) throws CiliaInvalidSyntaxException, CiliaIllegalParameterException
endpointIn
in interface Topology
ldapFilter
- 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 Topology
ldapFilter
- 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 Topology
ldapFilter
- 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 Topology
ldapFilter
- 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
CiliaIllegalParameterException
public Node[] nodeByType(String type) throws CiliaIllegalParameterException
nodeByType
in interface Topology
type
- CiliaIllegalParameterException
Copyright © 2012-2013 Adele Team | LIG. All Rights Reserved.