ojb.broker.server
Class RequestProcessor

java.lang.Object
  |
  +--ojb.broker.server.RequestProcessor
All Implemented Interfaces:
PBMethodIndex

public class RequestProcessor
extends java.lang.Object
implements PBMethodIndex

This class does the real processing of an Request object.


Field Summary
 
Fields inherited from interface ojb.broker.server.PBMethodIndex
abortTransaction, beginTransaction, clearCache, close, commitTransaction, delete, getClassDescriptor, getCollectionByQuery, getCollectionByQueryMC, getCount, getExtentClass, getIteratorByQuery, getObjectByIdentity, getObjectByQuery, getPkEnumerationByQuery, getReportQueryIteratorByQuery, getUniqueId, getUniqueLong, getUniqueObject, getUniqueString, hasNext, invalidate, isInTransaction, next, open, releaseDbResources, removeFromCache, setClassDescriptor, srvPing, srvRestart, srvStatistics, srvStop, store, storeWithModification
 
Constructor Summary
RequestProcessor(BrokerPool brokerpool)
           
 
Method Summary
 java.lang.Object execute(Request request)
          Execute the Request specified in request and return the result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestProcessor

public RequestProcessor(BrokerPool brokerpool)
Method Detail

execute

public java.lang.Object execute(Request request)
Execute the Request specified in request and return the result.

Parameters:
request - the request that should be executed
Returns:
the result of the operation, a PersistenceBrokerException if one occured or null if the specified method doesn't return a value.


Authors: Thomas Mahler and others. (C) 2000, 2001.
All rights reserved. Published under the Gnu Public License.
http://objectbridge.sourceforge.net
Version: 0.8.375, 2002-04-04