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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]_ids()Retrieves a string array containing the repository identifiers supported by thisObjectImplobject.voidinitialize(PresentationManager.ClassData classData, InvocationHandler handler) Must be called to complete the initialization of the stub.protected Objectprotected ObjectMethods 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
-
Constructor Details
-
CodegenStubBase
public CodegenStubBase()
-
-
Method Details
-
_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
-