|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.hk2.component.AbstractInhabitantProvider
com.sun.hk2.component.RunLevelInhabitantProvider
public class RunLevelInhabitantProvider
InhabitantProviderInterceptor specializing in the creation
of RunLevelInhabitants.
| Constructor Summary | |
|---|---|
RunLevelInhabitantProvider(Habitat h)
|
|
| Method Summary | |
|---|---|
AbstractInhabitantImpl<?> |
visit(AbstractInhabitantImpl<?> i,
java.lang.String typeName,
java.util.Set<java.lang.String> indicies,
java.util.Iterator<InhabitantProviderInterceptor> remainingInterceptors,
InhabitantStore store)
Called by the framework to either decorate the inhabitant, or even intercept and replace the created inhabitant. |
| Methods inherited from class com.sun.hk2.component.AbstractInhabitantProvider |
|---|
contains |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RunLevelInhabitantProvider(Habitat h)
| Method Detail |
|---|
public AbstractInhabitantImpl<?> visit(AbstractInhabitantImpl<?> i,
java.lang.String typeName,
java.util.Set<java.lang.String> indicies,
java.util.Iterator<InhabitantProviderInterceptor> remainingInterceptors,
InhabitantStore store)
InhabitantProviderInterceptor
i - the inhabitant offered by the framework, or the previous interceptortypeName - the type name of the inhabitantindicies - the indicies of the inhabitantremainingInterceptors - the interceptors that follow. It is the responsibility
of the implementation to continue the visitations for remaining
interceptors unless there is some special conditions warranting
an immediate short-circuiting.store - the store that can be used for adding additional inhabitants
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||