@RunLevel(value=10) @Service public class StartupRunLevelBridge extends Object implements org.glassfish.api.FutureProvider<com.sun.enterprise.util.Result<Thread>>
Startup to the RunLevelService based approach.
Also implements FutureProvider to provide a list of futures for
startup service inhabitant activation.| Constructor and Description |
|---|
StartupRunLevelBridge() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
activate(org.glassfish.hk2.api.ServiceHandle<?> serviceHandle)
Activate a service handle.
|
List<Future<com.sun.enterprise.util.Result<Thread>>> |
getFutures() |
void |
postConstruct() |
void |
preDestroy() |
protected Object activate(org.glassfish.hk2.api.ServiceHandle<?> serviceHandle)
serviceHandle - the service handlepublic List<Future<com.sun.enterprise.util.Result<Thread>>> getFutures()
getFutures in interface org.glassfish.api.FutureProvider<com.sun.enterprise.util.Result<Thread>>public void postConstruct()
postConstruct in interface org.glassfish.hk2.api.PostConstructpublic void preDestroy()
preDestroy in interface org.glassfish.hk2.api.PreDestroyCopyright © 2013. All Rights Reserved.