|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.v3.server.InitRunLevelBridge
@Priority(value=2) @Service public class InitRunLevelBridge
Provides a bridge from Init to the RunLevelService based
approach.
| Constructor Summary | |
|---|---|
InitRunLevelBridge()
|
|
InitRunLevelBridge(Class bridgeClass,
Class additionalShutdownClass)
|
|
| Method Summary | |
|---|---|
protected void |
activate(org.jvnet.hk2.component.Inhabitant<?> i)
Activate the given inhabitant. |
protected void |
deactivate(org.jvnet.hk2.component.Inhabitant<?> i)
Deactivate the given inhabitant. |
void |
postConstruct()
|
void |
preDestroy()
|
protected boolean |
qualifies(boolean startup,
org.jvnet.hk2.component.Inhabitant<?> i)
Determine if the given Inhabitant is using the new RunLevel-based mechanism. |
protected List<org.jvnet.hk2.component.Inhabitant<?>> |
sort(Collection<org.jvnet.hk2.component.Inhabitant<?>> coll)
Get a sorted List from the the given Collection, reusing the same
Collection if provided as a List type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InitRunLevelBridge()
public InitRunLevelBridge(Class bridgeClass,
Class additionalShutdownClass)
| Method Detail |
|---|
public void postConstruct()
postConstruct in interface org.glassfish.hk2.PostConstructpublic void preDestroy()
preDestroy in interface org.glassfish.hk2.PreDestroyprotected void activate(org.jvnet.hk2.component.Inhabitant<?> i)
i - the inhabitantprotected void deactivate(org.jvnet.hk2.component.Inhabitant<?> i)
i - the inhabitant
protected boolean qualifies(boolean startup,
org.jvnet.hk2.component.Inhabitant<?> i)
Inhabitant is using the new RunLevel-based mechanism.
protected List<org.jvnet.hk2.component.Inhabitant<?>> sort(Collection<org.jvnet.hk2.component.Inhabitant<?>> coll)
List from the the given Collection, reusing the same
Collection if provided as a List type.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||