org.jacorb.poa
Class RequestProcessor

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.jacorb.poa.RequestProcessor
All Implemented Interfaces:
InvocationContext, java.lang.Runnable

public class RequestProcessor
extends java.lang.Thread
implements InvocationContext

This thread performs the request processing, the actual method invocation and it returns the ServerRequest object to the ORB.

Version:
$Id: RequestProcessor.java,v 1.24 2004/02/01 20:29:22 francisco Exp $
Author:
Reimo Tiedemann, FU Berlin

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Method Summary
 byte[] getObjectId()
          returns the oid associated current servant invocation
 ORB getORB()
          returns the orb that has received the request
 POA getPOA()
          returns the poa that has dispatched the request
 Servant getServant()
          returns the actual servant
 void run()
          the main loop for request processing
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getObjectId

public byte[] getObjectId()
returns the oid associated current servant invocation

Specified by:
getObjectId in interface InvocationContext

getORB

public ORB getORB()
returns the orb that has received the request

Specified by:
getORB in interface InvocationContext

getPOA

public POA getPOA()
returns the poa that has dispatched the request

Specified by:
getPOA in interface InvocationContext

getServant

public Servant getServant()
returns the actual servant

Specified by:
getServant in interface InvocationContext

run

public void run()
the main loop for request processing

Specified by:
run in interface java.lang.Runnable