|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Contract @CagedBy(value=CageBuilder.Registerer.class) public interface CageBuilder<T>
Receives notifications when a component with CagedBy
is entered into habitat.
The concrete registration hook classes are instanciated as components
themselves, so in that way sub-classes can obtain contextual information,
such as Habitat, via injection.
CagedBy| Nested Class Summary | |
|---|---|
static class |
CageBuilder.Registerer<T>
Deprecated. When CageBuilder enters habitat, look
for existing inhabitants that were supposed to be
caged by this and cage them all. |
| Method Summary | |
|---|---|
void |
onEntered(Inhabitant<T> i)
Deprecated. Called when an Inhabitant is entered into habitat. |
| Method Detail |
|---|
void onEntered(Inhabitant<T> i)
Inhabitant is entered into habitat.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||