org.jacorb.poa

Class RequestProcessor

Implemented Interfaces:
Configurable, InvocationContext

public class RequestProcessor
extends Thread
implements InvocationContext, Configurable

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.27 2004/05/06 12:40:00 nicolas Exp $

Author:
Reimo Tiedemann, FU Berlin

Method Summary

void
configure(Configuration configuration)
ORB
getORB()
returns the orb that has received the request
byte[]
getObjectId()
returns the oid associated current servant invocation
POA
getPOA()
returns the poa that has dispatched the request
Servant
getServant()
returns the actual servant
void
run()
the main loop for request processing

Method Details

configure

public void configure(Configuration configuration)
            throws ConfigurationException


getORB

public ORB getORB()
returns the orb that has received the request
Specified by:
getORB in interface InvocationContext


getObjectId

public byte[] getObjectId()
returns the oid associated current servant invocation
Specified by:
getObjectId 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