org.glassfish.api
Interface Startup


Deprecated. Use the StartupRunLevel annotation on the Service instead of implementing this interface.

@Contract
public interface Startup

Implementation of this interface will be run during the application server startup sequence.

Author:
Jerome Dochez

Nested Class Summary
static class Startup.Lifecycle
          Deprecated. A startup service may be useful during the lifetime of the application server, while others need to process a task and stop running at the end of the server startup.
 
Method Summary
 Startup.Lifecycle getLifecycle()
          Deprecated. Returns the life expectency of the service
 

Method Detail

getLifecycle

Startup.Lifecycle getLifecycle()
Deprecated. 
Returns the life expectency of the service

Returns:
the life expectency.


Copyright © 2012. All Rights Reserved.