public class CorbaServerRequestDispatcherImpl extends Object implements CorbaServerRequestDispatcher
Constructor and Description |
---|
CorbaServerRequestDispatcherImpl(ORB orb) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkServerId(ObjectKey okey) |
protected void |
consumeServiceContexts(CorbaMessageMediator request) |
void |
dispatch(MessageMediator messageMediator)
This method coordinates the processing of a message received
on the server side.
|
protected CorbaMessageMediator |
dispatchToServant(Object servant,
CorbaMessageMediator req,
byte[] objectId,
ObjectAdapter objectAdapter) |
protected void |
dprint(String msg) |
protected Object |
getServantWithPI(CorbaMessageMediator request,
ObjectAdapter objectAdapter,
byte[] objectId,
ObjectKeyTemplate oktemp,
String operation) |
protected CorbaMessageMediator |
handleDynamicResult(ServerRequestImpl sreq,
CorbaMessageMediator req) |
protected void |
handleNullServant(String operation,
NullServant nserv)
Always throws OBJECT_NOT_EXIST if operation is not a special method.
|
IOR |
locate(ObjectKey okey)
XXX/REVISIT:
We do not want to look for a servant in the POA/ServantManager case,
but we could in most other cases.
|
protected String |
opAndId(CorbaMessageMediator mediator) |
protected boolean |
processCodeSetContext(CorbaMessageMediator request,
ServiceContexts contexts)
Handles setting the connection's code sets if required.
|
protected CorbaMessageMediator |
sendingReply(CorbaMessageMediator req) |
protected CorbaMessageMediator |
sendingReply(CorbaMessageMediator req,
Any excany)
Must always be called, just after the servant's method returns.
|
protected ORB orb
public CorbaServerRequestDispatcherImpl(ORB orb)
public IOR locate(ObjectKey okey)
locate
in interface CorbaServerRequestDispatcher
OBJECT_NOT_EXIST
- is thrown if we know the object does not
exist here, and we are not forwarding.public void dispatch(MessageMediator messageMediator)
ServerRequestDispatcher
dispatch
in interface ServerRequestDispatcher
protected Object getServantWithPI(CorbaMessageMediator request, ObjectAdapter objectAdapter, byte[] objectId, ObjectKeyTemplate oktemp, String operation) throws OADestroyed
OADestroyed
protected void checkServerId(ObjectKey okey)
protected void handleNullServant(String operation, NullServant nserv)
protected void consumeServiceContexts(CorbaMessageMediator request)
protected CorbaMessageMediator dispatchToServant(Object servant, CorbaMessageMediator req, byte[] objectId, ObjectAdapter objectAdapter)
protected CorbaMessageMediator handleDynamicResult(ServerRequestImpl sreq, CorbaMessageMediator req)
protected CorbaMessageMediator sendingReply(CorbaMessageMediator req)
protected CorbaMessageMediator sendingReply(CorbaMessageMediator req, Any excany)
protected boolean processCodeSetContext(CorbaMessageMediator request, ServiceContexts contexts)
protected void dprint(String msg)
protected String opAndId(CorbaMessageMediator mediator)
Copyright © 2020 JBoss by Red Hat. All rights reserved.