Uses of Class
org.omg.PortableServer.Servant
-
Packages that use Servant 软件包 描述 org.omg.CosNaming 为Java IDL提供命名服务。org.omg.PortableServer 提供类和接口,使您的应用程序的服务器端可跨多厂商ORBs移植。org.omg.PortableServer.portable 提供类和接口,使您的应用程序的服务器端可跨多厂商ORBs移植。 -
-
Uses of Servant in org.omg.CosNaming
Subclasses of Servant in org.omg.CosNaming Modifier and Type Class 描述 classBindingIteratorPOABindingIterator接口允许客户端使用next_one或next_n操作来迭代绑定。classNamingContextExtPOANamingContextExt是延长NamingContext其含有一组名称的绑定,其中每个名字是唯一的并且是可互操作的命名服务的一部分。classNamingContextPOA命名上下文是一个包含一组名称绑定的对象,其中每个名称都是唯一的。 -
Uses of Servant in org.omg.PortableServer
Subclasses of Servant in org.omg.PortableServer Modifier and Type Class 描述 classDynamicImplementation允许动态处理对象调用。classServantActivatorPOA当POA具有RETAIN策略时,它使用ServantActivator的仆人管理器。classServantLocatorPOA当POA具有NON_RETAIN策略时,它使用ServantLocator的servant管理器。Methods in org.omg.PortableServer that return Servant Modifier and Type 方法 描述 ServantPOAOperations. get_servant()此操作返回与POA关联的默认servant。ServantPOAOperations. id_to_servant(byte[] oid)如果POA具有RETAIN策略,并且指定的ObjectId位于活动对象映射中,则此操作将返回与活动对象映射中该对象关联的servant。Servant_ServantActivatorStub. incarnate(byte[] oid, POA adapter)假设POA具有USE_SERVANT_MANAGER和RETAIN策略,POA每当POA收到对当前不活动的对象的请求时,POA将调用此操作。ServantServantActivatorOperations. incarnate(byte[] oid, POA adapter)假设POA具有USE_SERVANT_MANAGER和RETAIN策略,POA每当POA收到对当前不活动的对象的请求时,POA将调用此操作。Servant_ServantLocatorStub. preinvoke(byte[] oid, POA adapter, String operation, CookieHolder the_cookie)此操作用于获取将用于处理引起preinvoke调用的请求的servant。ServantServantLocatorOperations. preinvoke(byte[] oid, POA adapter, String operation, CookieHolder the_cookie)此操作用于获取将用于处理引起preinvoke调用的请求的servant。ServantPOAOperations. reference_to_servant(Object reference)如果POA具有RETAIN策略并且活动对象映射中存在指定的对象,则此操作将返回与活动对象映射中该对象关联的servant。Methods in org.omg.PortableServer with parameters of type Servant Modifier and Type 方法 描述 byte[]POAOperations. activate_object(Servant p_servant)此操作生成对象标识,并在活动对象映射中输入对象标识和指定的仆人。voidPOAOperations. activate_object_with_id(byte[] id, Servant p_servant)此操作将在“活动对象映射”中输入指定的对象标识和指定服务器之间的关联。void_ServantActivatorStub. etherealize(byte[] oid, POA adapter, Servant serv, boolean cleanup_in_progress, boolean remaining_activations)假设POA具有USE_SERVANT_MANAGER和RETAIN策略,则每当某个对象的servant被停用时,都会调用此操作。voidServantActivatorOperations. etherealize(byte[] oid, POA adapter, Servant serv, boolean cleanup_in_progress, boolean remaining_activations)假设POA具有USE_SERVANT_MANAGER和RETAIN策略,则每当某个对象的servant被停用时,都会调用此操作。void_ServantLocatorStub. postinvoke(byte[] oid, POA adapter, String operation, Object the_cookie, Servant the_servant)在服务器完成请求时调用此操作。voidServantLocatorOperations. postinvoke(byte[] oid, POA adapter, String operation, Object the_cookie, Servant the_servant)在服务器完成请求时调用此操作。byte[]POAOperations. servant_to_id(Servant p_servant)此操作有四种可能的行为。 1。ObjectPOAOperations. servant_to_reference(Servant p_servant)此操作需要RETAIN策略,如果在此POA发出的操作的上下文中被调用,则需要UNIQUE_ID或IMPLICIT_ACTIVATION策略。voidPOAOperations. set_servant(Servant p_servant)此操作将指定的仆人作为默认仆人注册POA。 -
Uses of Servant in org.omg.PortableServer.portable
Methods in org.omg.PortableServer.portable with parameters of type Servant Modifier and Type 方法 描述 POADelegate. default_POA(Servant Self)此函数的默认行为是从与仆人关联的ORB实例返回根POA。ObjectDelegate. get_interface_def(Servant self)此操作返回Interface Repository中的对象,该对象提供可能对程序有用的类型信息。booleanDelegate. is_a(Servant Self, String Repository_Id)此方法检查_all_interfaces()返回的列表中是否存在指定的repid,或者是通用CORBA对象的存储库标识。booleanDelegate. non_existent(Servant Self)此操作用于检查对象的存在。byte[]Delegate. object_id(Servant Self)方法_object_id()等效于调用PortableServer :: Current :: get_object_id。ORBDelegate. orb(Servant Self)方便方法返回当前与仆人关联的ORB的实例。POADelegate. poa(Servant Self)方法_poa()等效于调用PortableServer :: Current:get_POA。ObjectDelegate. this_object(Servant Self)这允许servant获取它为该请求所体现的目标CORBA对象的对象引用。
-