Package com.sun.corba.ee.impl.protocol
Class INSServerRequestDispatcher
- java.lang.Object
-
- com.sun.corba.ee.impl.protocol.INSServerRequestDispatcher
-
- All Implemented Interfaces:
ServerRequestDispatcher
public class INSServerRequestDispatcher extends java.lang.Object implements ServerRequestDispatcher
INSServerRequestDispatcher handles all INS related discovery request. The INS Service can be registered using ORB.register_initial_reference(). This Singleton subcontract just finds the target IOR and does location forward. XXX PI points are not invoked in either dispatch() or locate() method this should be fixed in Tiger.
-
-
Field Summary
Fields Modifier and Type Field Description private ORB
orb
private static ORBUtilSystemException
wrapper
-
Constructor Summary
Constructors Constructor Description INSServerRequestDispatcher(ORB orb)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispatch(MessageMediator request)
private IOR
getINSReference(java.lang.String insKey)
getINSReference if it is registered in INSObjectKeyMap.IOR
locate(ObjectKey okey)
Handle a locate request.
-
-
-
Field Detail
-
wrapper
private static final ORBUtilSystemException wrapper
-
orb
private ORB orb
-
-
Constructor Detail
-
INSServerRequestDispatcher
public INSServerRequestDispatcher(ORB orb)
-
-
Method Detail
-
locate
public IOR locate(ObjectKey okey)
Description copied from interface:ServerRequestDispatcher
Handle a locate request.- Specified by:
locate
in interfaceServerRequestDispatcher
- Parameters:
okey
- key to object to locate- Returns:
- IOR for the request
-
dispatch
public void dispatch(MessageMediator request)
- Specified by:
dispatch
in interfaceServerRequestDispatcher
-
getINSReference
private IOR getINSReference(java.lang.String insKey)
getINSReference if it is registered in INSObjectKeyMap.
-
-