pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.util.requestbean
Class RequestAwareRequestBean

java.lang.Object
  extended by org.torweg.pulse.util.requestbean.RequestAwareRequestBean
Direct Known Subclasses:
CleanSitemapAndContentRegistry.CleanUpBean, ContextAwareRequestBean, FilterContentRequestBean

public class RequestAwareRequestBean
extends java.lang.Object

a basic implementation of a request bean with access to the current ServiceRequest. Useful for extension.

Version:
$Revision: 1411 $
Author:
Thomas Weber

Constructor Summary
RequestAwareRequestBean()
           
 
Method Summary
 boolean addEvent(Event e)
          adds the given Event to the EventManager.
 ServiceRequest getServiceRequest()
          returns the Bundle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestAwareRequestBean

public RequestAwareRequestBean()
Method Detail

getServiceRequest

public final ServiceRequest getServiceRequest()
returns the Bundle.

Returns:
the bundle

addEvent

public final boolean addEvent(Event e)
adds the given Event to the EventManager.

Parameters:
e - the event to add
Returns:
true, if and only if the event has been added. Otherwise false.