public class _DynAnyFactoryStub extends ObjectImpl implements DynAnyFactory
任何动态解释通常涉及使用create_dyn_any()作为第一步创建DynAny对象。 根据任何类型,可以将生成的DynAny对象引用缩小为DynFixed,DynStruct,DynSequence,DynArray,DynUnion,DynEnum或DynValue对象引用。
任何动态创建涉及使用create_dyn_any_from_type_code()创建DynAny对象,传递与要创建的值相关联的TypeCode。 返回的引用被缩小为一个复杂类型,如DynStruct(如果适用)。 然后,可以通过调用对结果对象的操作来初始化该值。 最后,可以调用to_any操作以从构造的DynAny创建任何值。
| Constructor and Description | 
|---|
| _DynAnyFactoryStub() | 
| Modifier and Type | Method and Description | 
|---|---|
| String[] | _ids()
              检索包含此 
              ObjectImpl对象支持的存储库标识符的字符串数组。 | 
| DynAny | create_dyn_any_from_type_code(TypeCode type)
              从TypeCode创建DynAny。 
             | 
| DynAny | create_dyn_any(Any value)
              从任何值创建一个新的DynAny对象。 
             | 
_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 DynAny create_dyn_any(Any value) throws InconsistentTypeCode
create_dyn_any在界面 
            DynAnyFactoryOperations 
           InconsistentTypeCode - 如果值具有TCKind为tk_Principal,tk_native或tk_abstract_interface的TypeCode 
           public DynAny create_dyn_any_from_type_code(TypeCode type) throws InconsistentTypeCode
create_dyn_any_from_type_code在界面 
            DynAnyFactoryOperations 
           InconsistentTypeCode 
           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.