Package com.sun.org.omg.SendingContext
Class _CodeBaseImplBase
- java.lang.Object
-
- org.omg.CORBA.portable.ObjectImpl
-
- com.sun.org.omg.SendingContext._CodeBaseImplBase
-
- All Implemented Interfaces:
CodeBase
,CodeBaseOperations
,java.io.Serializable
,Object
,IDLEntity
,InvokeHandler
,RunTime
,RunTimeOperations
- Direct Known Subclasses:
CachedCodeBase
,FVDCodeBaseImpl
public abstract class _CodeBaseImplBase extends ObjectImpl implements CodeBase, InvokeHandler
com/sun/org/omg/SendingContext/_CodeBaseImplBase.java Generated by the IDL-to-Java compiler (portable), version "3.0" from rt.idl Thursday, May 6, 1999 1:52:08 AM PDT- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description _CodeBaseImplBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]
_ids()
Retrieves a string array containing the repository identifiers supported by thisObjectImpl
object.OutputStream
_invoke(java.lang.String method, InputStream in, ResponseHandler rh)
Invoked by the ORB to dispatch a request to the servant.-
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, equals, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.sun.org.omg.SendingContext.CodeBaseOperations
bases, get_ir, implementation, implementations, meta, metas
-
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
-
-
-
-
Method Detail
-
_invoke
public OutputStream _invoke(java.lang.String method, InputStream in, ResponseHandler rh)
Description copied from interface:InvokeHandler
Invoked by the ORB to dispatch a request to the servant. ORB passes the method name, an InputStream containing the marshalled arguments, and a ResponseHandler which the servant uses to construct a proper reply. Only CORBA SystemException may be thrown by this method. The method must return an OutputStream created by the ResponseHandler which contains the marshalled reply. A servant must not retain a reference to the ResponseHandler beyond the lifetime of a method invocation. Servant behaviour is defined as follows:1. Determine correct method, and unmarshal parameters from InputStream.
2. Invoke method implementation.
3. If no user exception, create a normal reply using ResponseHandler.
4. If user exception occurred, create exception reply using ResponseHandler.
5. Marshal reply into OutputStream returned by ResponseHandler.
6. Return OutputStream to ORB.
- Specified by:
_invoke
in interfaceInvokeHandler
- Parameters:
method
- The method name.in
- TheInputStream
containing the marshalled arguments.rh
- TheResponseHandler
which the servant uses to construct a proper reply- Returns:
- The
OutputStream
created by the ResponseHandler which contains the marshalled reply
-
_ids
public java.lang.String[] _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
-
-