Package | Description |
---|---|
javax.faces.application |
APIs that are used to link an application's
business logic objects to JavaServer Faces, as well as convenient
pluggable mechanisms to manage the execution of an application that is
based on JavaServer Faces.
|
javax.faces.component |
Fundamental APIs for user
interface components.
|
javax.faces.context |
Classes and interfaces
defining per-request state information.
|
javax.faces.event |
Interfaces describing
events and event listeners, and concrete event implementation classes.
|
Modifier and Type | Method and Description |
---|---|
void |
ApplicationWrapper.publishEvent(FacesContext context,
Class<? extends SystemEvent> systemEventClass,
Class<?> sourceBaseType,
Object source)
The default behavior of this method
is to call |
void |
Application.publishEvent(FacesContext context,
Class<? extends SystemEvent> systemEventClass,
Class<?> sourceBaseType,
Object source)
This method functions exactly like
|
void |
ApplicationWrapper.publishEvent(FacesContext context,
Class<? extends SystemEvent> systemEventClass,
Object source)
The default behavior of this method
is to call |
void |
Application.publishEvent(FacesContext context,
Class<? extends SystemEvent> systemEventClass,
Object source)
If |
void |
ApplicationWrapper.subscribeToEvent(Class<? extends SystemEvent> systemEventClass,
Class<?> sourceClass,
SystemEventListener listener)
The default behavior of this method
is to call |
void |
Application.subscribeToEvent(Class<? extends SystemEvent> systemEventClass,
Class<?> sourceClass,
SystemEventListener listener)
Install the listener instance
referenced by argument |
void |
ApplicationWrapper.subscribeToEvent(Class<? extends SystemEvent> systemEventClass,
SystemEventListener listener)
The default behavior of this method
is to call |
void |
Application.subscribeToEvent(Class<? extends SystemEvent> systemEventClass,
SystemEventListener listener)
Install the listener instance
referenced by argument |
void |
ApplicationWrapper.unsubscribeFromEvent(Class<? extends SystemEvent> systemEventClass,
Class<?> sourceClass,
SystemEventListener listener)
The default behavior of this method
is to call |
void |
Application.unsubscribeFromEvent(Class<? extends SystemEvent> systemEventClass,
Class<?> sourceClass,
SystemEventListener listener)
Remove the listener instance
referenced by argument |
void |
ApplicationWrapper.unsubscribeFromEvent(Class<? extends SystemEvent> systemEventClass,
SystemEventListener listener)
The default behavior of this method
is to call |
void |
Application.unsubscribeFromEvent(Class<? extends SystemEvent> systemEventClass,
SystemEventListener listener)
Remove the listener instance
referenced by argument |
Modifier and Type | Method and Description |
---|---|
List<SystemEventListener> |
UIComponentBase.getListenersForEventClass(Class<? extends SystemEvent> eventClass)
Return the
|
List<SystemEventListener> |
UIComponent.getListenersForEventClass(Class<? extends SystemEvent> eventClass)
This implementation throws
|
List<SystemEventListener> |
UIViewRoot.getViewListenersForEventClass(Class<? extends SystemEvent> systemEvent)
Return the
|
void |
UIComponentBase.subscribeToEvent(Class<? extends SystemEvent> eventClass,
ComponentSystemEventListener componentListener)
Install the listener instance
referenced by argument |
void |
UIComponent.subscribeToEvent(Class<? extends SystemEvent> eventClass,
ComponentSystemEventListener componentListener)
This implementation throws
|
void |
UIViewRoot.subscribeToViewEvent(Class<? extends SystemEvent> systemEvent,
SystemEventListener listener)
Install the listener instance
referenced by argument |
void |
UIComponentBase.unsubscribeFromEvent(Class<? extends SystemEvent> eventClass,
ComponentSystemEventListener componentListener)
Remove the listener instance
referenced by argument |
void |
UIComponent.unsubscribeFromEvent(Class<? extends SystemEvent> eventClass,
ComponentSystemEventListener componentListener)
This implementation throws
|
void |
UIViewRoot.unsubscribeFromViewEvent(Class<? extends SystemEvent> systemEvent,
SystemEventListener listener)
Remove the listener instance
referenced by argument |
Modifier and Type | Method and Description |
---|---|
void |
ExceptionHandlerWrapper.processEvent(SystemEvent event)
The default behavior of this method is to
call
ExceptionHandler.processEvent(javax.faces.event.SystemEvent)
on the wrapped ExceptionHandler object. |
abstract void |
ExceptionHandler.processEvent(SystemEvent exceptionQueuedEvent)
When called, the listener can assume that any guarantees given
in the javadoc for the specific
SystemEvent
subclass are true. |
Modifier and Type | Class and Description |
---|---|
class |
ComponentSystemEvent
ComponentSystemEvent is
the base class for
SystemEvent s that are specific to a UIComponent instance. |
class |
ExceptionQueuedEvent
The system event facility will create an
instance of this class whenever |
class |
PostAddToViewEvent
When an instance of this event is
passed to |
class |
PostConstructApplicationEvent
This event must be published by the runtime after all configuration resources have been parsed and processed. |
class |
PostConstructCustomScopeEvent
This class is provided to allow custom scopes to publish a "post construct" event in the same way that other scopes do to let the application become aware of the beginning of the scope. |
class |
PostConstructViewMapEvent
This event must be published by a call to {javax.faces.application.Application#publishEvent} when the view map is first created. |
class |
PostKeepFlashValueEvent
This event must be published by a call
to |
class |
PostPutFlashValueEvent
This event must be published by a call
to |
class |
PostRestoreStateEvent
When an instance of this event is passed
to |
class |
PostValidateEvent
When an instance of
this event is passed to |
class |
PreClearFlashEvent
This event must be published by a call
to |
class |
PreDestroyApplicationEvent
This event must be published by the
runtime before the factories associated with this |
class |
PreDestroyCustomScopeEvent
This class is provided to allow custom scopes to publish a "pre construct" event in the same way that other scopes do to let the application become aware of the beginning of the scope. |
class |
PreDestroyViewMapEvent
This event must be published by a call
to |
class |
PreRemoveFlashValueEvent
This event must be published by a call
to |
class |
PreRemoveFromViewEvent
When an instance of this event is passed
to |
class |
PreRenderComponentEvent
When an instance of this event is passed
to |
class |
PreRenderViewEvent
When an instance of this event is passed
to |
class |
PreValidateEvent
When an instance of
this event is passed to |
Modifier and Type | Method and Description |
---|---|
void |
SystemEventListener.processEvent(SystemEvent event)
When called, the listener can assume that any guarantees given
in the javadoc for the specific
SystemEvent
subclass are true. |
Modifier and Type | Method and Description |
---|---|
List<SystemEventListener> |
SystemEventListenerHolder.getListenersForEventClass(Class<? extends SystemEvent> facesEventClass)
|
List<SystemEventListener> |
ExceptionQueuedEventContext.getListenersForEventClass(Class<? extends SystemEvent> facesEventClass)
Return a |
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.