net.sf.xbus.bootstrap
Class JavaReceiverBootstrap

java.lang.Object
  extended by net.sf.xbus.bootstrap.JavaReceiverBootstrap

public class JavaReceiverBootstrap
extends java.lang.Object

JavaReceiverBootstrap is used to call the xBus directly from another Java application. It receives a request via a call of its receive method.


Constructor Summary
JavaReceiverBootstrap()
           
 
Method Summary
static java.lang.Object receive(java.lang.String system, java.lang.Object request)
          Receives a request, processes the message as configured in standard.conf and returns a response.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaReceiverBootstrap

public JavaReceiverBootstrap()
Method Detail

receive

public static java.lang.Object receive(java.lang.String system,
                                       java.lang.Object request)
                                throws XException
Receives a request, processes the message as configured in standard.conf and returns a response.

Parameters:
system - name of the system as configured in standard.conf
request - the message that shall be processed by the xBus
Returns:
the outcome of processing the request
Throws:
XException - if the request cannot be processed