Top Description Fields Constructors Methods
com.sun.faces.application.applicationimpl.events

public Class EventInfo

extends Object
Class Inheritance
Imports
java.lang.reflect.Constructor, .InvocationTargetException, java.util.HashMap, .Map, .Set, java.util.concurrent.CopyOnWriteArraySet, java.util.logging.Level, .Logger, javax.faces.FacesException, javax.faces.event.SystemEvent, .SystemEventListener, com.sun.faces.util.FacesLogger

Represent a logical association between a SystemEvent and a Source. This call will contain the Listeners specific to this association as well as provide a method to construct new SystemEvents as required.

Field Summary

Modifier and TypeField and Description
private Map<Class<?>, Constructor<T>>
private Constructor<T>
private Set<SystemEventListener>
private static final Logger
private Class<?>
private Class<? extends SystemEvent>

Constructor Summary

AccessConstructor and Description
public
EventInfo(Class<? extends SystemEvent> systemEvent, Class<?> sourceClass)

Method Summary

Modifier and TypeMethod and Description
public SystemEvent
private Constructor<T>
private Constructor<T>
public Set<SystemEventListener>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

constructorMapback to summary
private Map<Class<?>, Constructor<T>> constructorMap
eventConstructorback to summary
private Constructor<T> eventConstructor
listenersback to summary
private Set<SystemEventListener> listeners
LOGGERback to summary
private static final Logger LOGGER
sourceClassback to summary
private Class<?> sourceClass
systemEventback to summary
private Class<? extends SystemEvent> systemEvent

Constructor Detail

EventInfoback to summary
public EventInfo(Class<? extends SystemEvent> systemEvent, Class<?> sourceClass)

Method Detail

createSystemEventback to summary
public SystemEvent createSystemEvent(Object source)
getCachedConstructorback to summary
private Constructor<T> getCachedConstructor(Class<?> source)
getEventConstructorback to summary
private Constructor<T> getEventConstructor(Class<?> source)
getListenersback to summary
public Set<SystemEventListener> getListeners()