org.enhydra.barracuda.core.event.helper
Class EventRedirectFactory
java.lang.Object
org.enhydra.barracuda.core.event.DefaultListenerFactory
org.enhydra.barracuda.core.event.helper.EventRedirectFactory
- All Implemented Interfaces:
- ListenerFactory
- public class EventRedirectFactory
- extends DefaultListenerFactory
This class provides a simple factory that will handle
events by simply throwing a client side redirect, in
effect acting as an event forwarder.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static final org.apache.log4j.Logger logger
id
protected String id
fevent
protected BaseEvent fevent
EventRedirectFactory
public EventRedirectFactory(BaseEvent ifevent)
- Public constructor. Note that when actually forwarding the
event, a new instance will be generated via reflection.
- Parameters:
ifevent
- the event to be generated
getInstance
public BaseEventListener getInstance()
- Get an instance of the underlying BaseEventListener
- Specified by:
getInstance
in interface ListenerFactory
- Specified by:
getInstance
in class DefaultListenerFactory
- Returns:
- get an instance of the BaseEventListener
getListenerID
public String getListenerID()
- Get the Listener ID associated with this class of listener. This will
generally either be the class name of the listener that the factory
creates
- Specified by:
getListenerID
in interface ListenerFactory
- Specified by:
getListenerID
in class DefaultListenerFactory
- Returns:
- the listener ID that describes this factory
Copyright © 2003 BarracudaMVC.org All Rights Reserved.