public abstract class _CodeBaseImplBase extends ObjectImpl implements CodeBase, InvokeHandler
Constructor and Description |
---|
_CodeBaseImplBase() |
Modifier and Type | Method and Description |
---|---|
String[] |
_ids()
Retrieves a string array containing the repository identifiers
supported by this
ObjectImpl object. |
OutputStream |
_invoke(String method,
InputStream in,
ResponseHandler rh)
Invoked by the ORB to dispatch a request to the servant.
|
_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
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
bases, get_ir, implementation, implementations, meta, metas
_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
public OutputStream _invoke(String method, InputStream in, ResponseHandler rh)
InvokeHandler
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.
_invoke
in interface InvokeHandler
method
- The method name.in
- The InputStream
containing the marshalled arguments.rh
- The ResponseHandler
which the servant uses
to construct a proper replyOutputStream
created by the
ResponseHandler which contains the marshalled replypublic String[] _ids()
ObjectImpl
ObjectImpl
object. For example,
for a stub, this method returns information about all the
interfaces supported by the stub._ids
in class ObjectImpl
ObjectImpl
instanceCopyright © 2021 JBoss by Red Hat. All rights reserved.