public class RespectLocalRegistry extends java.lang.Object implements ITCRegistry
Constructor and Description |
---|
RespectLocalRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
addTC(IRespectTC tc) |
java.util.Map<java.lang.String,IRespectTC> |
getMap() |
int |
getSize() |
IRespectTC |
getTC(TupleCentreId id) |
public void addTC(IRespectTC tc)
addTC
in interface ITCRegistry
tc
- the ReSpecT tuple centre to registerpublic java.util.Map<java.lang.String,IRespectTC> getMap()
getMap
in interface ITCRegistry
public int getSize()
public IRespectTC getTC(TupleCentreId id) throws InstantiationNotPossibleException
getTC
in interface ITCRegistry
id
- the identifier of the tuple centre to retrieveInstantiationNotPossibleException
- if the tuple centre cannot be instantiated