|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InhabitantStore
Contract abstracting the storage of inhabitants into a backing store (which is usually the habitat in most situations).
| Method Summary | |
|---|---|
void |
add(Inhabitant<?> i)
Adds the given inhabitant to the backing store (usually the habitat) |
void |
addIndex(Inhabitant<?> i,
java.lang.String typeName,
java.lang.String name)
Adds the given inhabitant index to the backing store (usually the habitat) |
boolean |
remove(Inhabitant<?> inhabitant)
Removes an inhabitant |
boolean |
removeIndex(java.lang.String index,
java.lang.Object serviceOrInhabitant)
Removes an Inhabitant index for a specific service or inhabitant |
boolean |
removeIndex(java.lang.String index,
java.lang.String name)
Removes a named Inhabitant index for a specific contract and name |
| Method Detail |
|---|
void add(Inhabitant<?> i)
void addIndex(Inhabitant<?> i,
java.lang.String typeName,
java.lang.String name)
boolean remove(Inhabitant<?> inhabitant)
inhabitant - inhabitant to be removed
boolean removeIndex(java.lang.String index,
java.lang.String name)
index - the contract namename - the instance name, optionally provided
boolean removeIndex(java.lang.String index,
java.lang.Object serviceOrInhabitant)
index - the contract nameserviceOrInhabitant - the service instance, or inhabitant instance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||