Class CodegenStubBase
java.lang.Object
org.omg.CORBA.portable.ObjectImpl
org.omg.CORBA_2_3.portable.ObjectImpl
javax.rmi.CORBA.Stub
com.sun.corba.ee.impl.presentation.rmi.codegen.CodegenStubBase
- All Implemented Interfaces:
Serializable, Object
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate PresentationManager.ClassDataprivate InvocationHandlerprivate Method[]private static Methodprivate String[]private static final ORBUtilSystemException -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]_ids()Retrieves a string array containing the repository identifiers supported by thisObjectImplobject.private static StubDelegateImplgetStubDelegateImpl(Object stub) private static StubDelegateImplvoidinitialize(PresentationManager.ClassData classData, InvocationHandler handler) Must be called to complete the initialization of the stub.protected Objectprivate voidreadObject(ObjectInputStream stream) private Objectprotected Objectprivate static voidsetDefaultDelegate(Object stub) Methods inherited from class ObjectImpl
_get_codebaseMethods inherited from class ObjectImpl
_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
-
Field Details
-
typeIds
-
methods
-
classData
-
handler
-
wrapper
-
setDefaultDelegateMethod
-
-
Constructor Details
-
CodegenStubBase
public CodegenStubBase()
-
-
Method Details
-
readResolve
- Throws:
ObjectStreamException
-
getStubDelegateImpl
-
getStubDelegateImplField
-
setDefaultDelegate
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
_ids
Description copied from class:ObjectImplRetrieves a string array containing the repository identifiers supported by thisObjectImplobject. For example, for a stub, this method returns information about all the interfaces supported by the stub.- Specified by:
_idsin classObjectImpl- Returns:
- the array of all repository identifiers supported by this
ObjectImplinstance
-
initialize
Must be called to complete the initialization of the stub. Note that we have mutual dependence between the InvocationHandler and the Stub: the InvocationHandler needs the stub in order to get the delegate, and the Stub needs the InvocationHandler to perform an invocation. We resolve this dependency by constructing the Stub first, using the stub to construct the InvocationHandler, and then completing the initialization of the Stub by calling initialize.- Parameters:
classData- ClassData for codegenhandler- InvocationHandler to use
-
selfAsBaseClass
-
invoke
-