public class _ServantActivatorStub extends ObjectImpl implements ServantActivator
| Constructor and Description | 
|---|
| _ServantActivatorStub() | 
| Modifier and Type | Method and Description | 
|---|---|
| String[] | _ids()
              检索包含此 
              ObjectImpl对象支持的存储库标识符的字符串数组。 | 
| void | etherealize(byte[] oid, POA adapter, Servant serv, boolean cleanup_in_progress, boolean remaining_activations)
              假设POA具有USE_SERVANT_MANAGER和RETAIN策略,则每当某个对象的servant被停用时,都会调用此操作。 
             | 
| Servant | incarnate(byte[] oid, POA adapter)
              假设POA具有USE_SERVANT_MANAGER和RETAIN策略,POA每当POA收到对当前不活动的对象的请求时,POA将调用此操作。 
             | 
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, wait_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_overridepublic static final 类 _opsClass
public Servant incarnate(byte[] oid, POA adapter) throws ForwardRequest
incarnate中的 
            ServantActivatorOperations 
           oid - 与请求上的对象相关联的对象Id。 
           adapter - 正在激活对象的POA的对象引用。 
           ForwardRequest - 向ORB指示它负责将当前请求和后续请求传递给异常的forward_reference成员中指出的对象。 
           public void etherealize(byte[] oid,
                        POA adapter,
                        Servant serv,
                        boolean cleanup_in_progress,
                        boolean remaining_activations) 
          etherealize在界面 
            ServantActivatorOperations 
           oid - 与被禁用对象关联的对象标识。 
           adapter - 对象引用的对象活动的POA。 
           serv - 包含与被停用对象关联的servant的引用。 
           cleanup_in_progress - 如果TRUE表示使用etherealize_objects参数为TRUE调用destroy或deactivate。 
            FALSE表示由于其他原因,称为“醚化”。 
           remaining_activations - 表示仆人经理是否可以销毁仆人。 
            如果设置为TRUE,则Servant Manager应该等到所有正在进行的调用完成。 
           public String[] _ids()
ObjectImpl复制 
          ObjectImpl对象支持的存储库标识符的字符串数组。 
           例如,对于stub,此方法返回有关stub支持的所有接口的信息。 
          _ids在类别 
            ObjectImpl 
           ObjectImpl实例支持的所有存储库标识符阵列 
            Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.