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.invocation
Class BundleInvoker

java.lang.Object
  extended by org.torweg.pulse.invocation.BundleInvoker
All Implemented Interfaces:
Invoker

public class BundleInvoker
extends java.lang.Object
implements Invoker

invokes all Bundles of the pulse container.

  1. The Bundle explicitly called is executed
  2. Then all other Bundles are executed until a StopEvent occurs or all Bundles are executed

Version:
$Revision: 1914 $
Author:
Thomas Weber

Constructor Summary
BundleInvoker()
           
 
Method Summary
 void execute(ServiceRequest request, ResultSet rs)
          performs the user authentication tasks and adds the authenticated user to the request before running all Bundles according to the current Command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BundleInvoker

public BundleInvoker()
Method Detail

execute

public final void execute(ServiceRequest request, ResultSet rs)
                   throws java.lang.IllegalArgumentException,
                          java.lang.InstantiationException,
                          java.lang.IllegalAccessException,
                          java.lang.reflect.InvocationTargetException
performs the user authentication tasks and adds the authenticated user to the request before running all Bundles according to the current Command.

Specified by:
execute in interface Invoker
Parameters:
request - the service request
rs - the result set
Throws:
java.lang.reflect.InvocationTargetException - on errors executing the method
java.lang.IllegalAccessException - on errors executing the method
java.lang.InstantiationException - on errors executing the method
java.lang.IllegalArgumentException - on errors executing the method