org.gcube.smartgears.handlers
Class Event<C>
java.lang.Object
org.gcube.smartgears.handlers.Event<C>
- Type Parameters:
C - the context type
- Direct Known Subclasses:
- ApplicationEvent, ContainerLifecycleEvent
public abstract class Event<C>
- extends Object
An event related to a given context.
- Author:
- Fabio Simeoni
|
Constructor Summary |
Event(C context)
Creates an instance with the context of the container. |
Event
public Event(C context)
- Creates an instance with the context of the container.
- Parameters:
context - the context
context
public C context()
- Returns the context of the container.
- Returns:
- the context
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2014. All Rights Reserved.