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.ClassData
private InvocationHandler
private Method[]
private static Method
private String[]
private static final ORBUtilSystemException
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]
_ids()
Retrieves a string array containing the repository identifiers supported by thisObjectImpl
object.private static StubDelegateImpl
getStubDelegateImpl
(Object stub) private static StubDelegateImpl
void
initialize
(PresentationManager.ClassData classData, InvocationHandler handler) Must be called to complete the initialization of the stub.protected Object
private void
readObject
(ObjectInputStream stream) private Object
protected Object
private static void
setDefaultDelegate
(Object stub) Methods inherited from class org.omg.CORBA_2_3.portable.ObjectImpl
_get_codebase
Methods inherited from class org.omg.CORBA.portable.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:
IOException
ClassNotFoundException
-
_ids
Description copied from class:ObjectImpl
Retrieves a string array containing the repository identifiers supported by thisObjectImpl
object. For example, for a stub, this method returns information about all the interfaces supported by the stub.- Specified by:
_ids
in classObjectImpl
- Returns:
- the array of all repository identifiers supported by this
ObjectImpl
instance
-
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
- Throws:
Throwable
-