com.oakgrovesystems.reactor.client
Class EJBReactorProxy

java.lang.Object
  |
  +--com.oakgrovesystems.reactor.client.AbstractReactorProxy
        |
        +--com.oakgrovesystems.reactor.client.EJBReactorProxy
All Implemented Interfaces:
ReactorProxy
Direct Known Subclasses:
Navigator

public class EJBReactorProxy
extends AbstractReactorProxy

EJBReactorProxy is a convenience class that programmers can use to make requests to Reactor server. This class uses RMI to talk to Reactor server.


Field Summary
 
Fields inherited from class com.oakgrovesystems.reactor.client.AbstractReactorProxy
authToken
 
Constructor Summary
EJBReactorProxy()
          Creates a new proxy
EJBReactorProxy(java.lang.String authToken)
          Creates a new proxy and sets the authentication token.
 
Method Summary
protected  com.oakgrovesystems.reactor.ReactorResponse sendRequest(com.oakgrovesystems.reactor.requests.ReactorRequest request)
          Sends the request to Reactor server using RMI.
 
Methods inherited from class com.oakgrovesystems.reactor.client.AbstractReactorProxy
addStatusToProcess, addStatusToProcess, addStatusToProcess, cloneInstance, cloneInstance, cloneInstance, cloneInstance, cloneInstance, cloneInstance, createObjects, createObjects, delete, delete, delete, delete, get, get, get, get, getAuthToken, handleRequest, lock, lock, lock, lock, lock, lock, lock, lock, login, logout, query, removeStatusFromProcess, removeStatusFromProcess, removeStatusFromProcess, setACLOnObject, setACLOnObject, setAuthToken, setObjects, setObjects, startProcess, startProcess, startProcess, stopProcess, stopProcess, stopProcess, unlock, unlock, unlock, unlock, unlock, unlock, unlock, unlock
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJBReactorProxy

public EJBReactorProxy()
Creates a new proxy


EJBReactorProxy

public EJBReactorProxy(java.lang.String authToken)
Creates a new proxy and sets the authentication token. This authentication token will be used as a credential for making requests to Reactor server.

Parameters:
authToken - The authentication token that will be used as credential for making requests.
Method Detail

sendRequest

protected com.oakgrovesystems.reactor.ReactorResponse sendRequest(com.oakgrovesystems.reactor.requests.ReactorRequest request)
                                                           throws ReactorProxyException
Sends the request to Reactor server using RMI.

Specified by:
sendRequest in class AbstractReactorProxy
Parameters:
request - The request to be sent to the server.
Returns:
the response from the server.
Throws:
ReactorProxyException - If parameter request is null.


Copyright (c) 1999-2004 Oak Grove Systems. All Rights Reserved.