org.glassfish.api.event
Class EventListener.Event<T>

java.lang.Object
  extended by org.glassfish.api.event.EventListener.Event<T>
Enclosing interface:
EventListener

public static class EventListener.Event<T>
extends java.lang.Object


Constructor Summary
EventListener.Event(EventTypes<T> type)
           
EventListener.Event(EventTypes<T> type, T hook)
           
 
Method Summary
 T hook()
           
 long inception()
           
 boolean is(EventTypes type)
           
 java.lang.String name()
           
 EventTypes<T> type()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventListener.Event

public EventListener.Event(EventTypes<T> type)

EventListener.Event

public EventListener.Event(EventTypes<T> type,
                           T hook)
Method Detail

inception

public long inception()

name

public java.lang.String name()

is

public boolean is(EventTypes type)

hook

public T hook()

type

public EventTypes<T> type()


Copyright © 2012 GlassFish Community. All Rights Reserved.