org.gcube.common.ghn.service.events
Class LifetimeEvent
java.lang.Object
org.gcube.common.ghn.service.events.LifetimeEvent
- All Implemented Interfaces:
- ServiceEvent<LifetimeHandler>
- Direct Known Subclasses:
- StartServiceEvent, StopServiceEvent
public abstract class LifetimeEvent
- extends Object
- implements ServiceEvent<LifetimeHandler>
A ServiceEvent that relates to the lifetime of a managed app.
The event is passed to LifetimeHandlers registered in Pipelines.
- Author:
- Fabio Simeoni
- See Also:
LifetimeHandler,
Pipeline
|
Constructor Summary |
LifetimeEvent(javax.servlet.ServletContext ctx)
Creates an instance with the ServletContext of the managed app. |
LifetimeEvent
public LifetimeEvent(javax.servlet.ServletContext ctx)
- Creates an instance with the
ServletContext of the managed app.
- Parameters:
ctx - the servlet context
servletContext
public javax.servlet.ServletContext servletContext()
- Returns the
ServletContext of the managed app.
- Returns:
- the servlet context
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013. All Rights Reserved.