jp.go.aist.rtm.RTC.util
Class POAUtil

java.lang.Object
  extended by jp.go.aist.rtm.RTC.util.POAUtil

public class POAUtil
extends java.lang.Object

Utility class concerning POA


Constructor Summary
POAUtil()
           
 
Method Summary
static org.omg.CORBA.Object getRef(org.omg.PortableServer.Servant servant)
           Makes the specified servant active, and gets CORBA reference.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

POAUtil

public POAUtil()
Method Detail

getRef

public static org.omg.CORBA.Object getRef(org.omg.PortableServer.Servant servant)
                                   throws java.lang.Exception
Makes the specified servant active, and gets CORBA reference.

Parameters:
servant - Servant Object
Returns:
CORBA reference of servant
Throws:
java.lang.Exception - Not relating to the service that the specified name defined. Neither SYSTEM_ID nor RETAIN policy that the servant has already been stored in Active Object Map are specified when UNIQUE_ID policy is specified for POA. Object ID value is not active on POA. There is no policy.