javax.faces.component
Class UIComponentBaseTestCase.Listener

java.lang.Object
  extended by javax.faces.component.UIComponentBaseTestCase.Listener
All Implemented Interfaces:
java.util.EventListener, FacesListener, SystemEventListener
Enclosing class:
UIComponentBaseTestCase

public static final class UIComponentBaseTestCase.Listener
extends java.lang.Object
implements SystemEventListener


Constructor Summary
UIComponentBaseTestCase.Listener()
           
 
Method Summary
 SystemEvent getEvent()
           
 boolean isListenerForSource(java.lang.Object source)
          This method must return true if and only if this listener instance is interested in receiving events from the instance referenced by the source parameter.
 void processEvent(SystemEvent event)
          When called, the listener can assume that any guarantees given in the javadoc for the specific SystemEvent subclass are true.
 void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIComponentBaseTestCase.Listener

public UIComponentBaseTestCase.Listener()
Method Detail

processEvent

public void processEvent(SystemEvent event)
                  throws AbortProcessingException
Description copied from interface: SystemEventListener

When called, the listener can assume that any guarantees given in the javadoc for the specific SystemEvent subclass are true.

Specified by:
processEvent in interface SystemEventListener
Parameters:
event - the SystemEvent instance that is being processed.
Throws:
AbortProcessingException - if lifecycle processing should cease for this request.

isListenerForSource

public boolean isListenerForSource(java.lang.Object source)
Description copied from interface: SystemEventListener

This method must return true if and only if this listener instance is interested in receiving events from the instance referenced by the source parameter.

Specified by:
isListenerForSource in interface SystemEventListener
Parameters:
source - the source that is inquiring about the appropriateness of sending an event to this listener instance.

getEvent

public SystemEvent getEvent()

reset

public void reset()


Copyright 2002-2011 Oracle America Inc, Inc. All Rights Reserved.