Novell exteNd Messaging Platform 5.1

org.omg.CosNaming
Class _NamingContextExtImplBase

java.lang.Object
  extended byorg.omg.CORBA.portable.ObjectImpl
      extended byorg.omg.CosNaming._NamingContextExtImplBase
All Implemented Interfaces:
IDLEntity, InvokeHandler, NamingContext, NamingContextExt, NamingContextExtOperations, Object, Serializable

public abstract class _NamingContextExtImplBase
extends ObjectImpl
implements NamingContextExt, InvokeHandler

Stream based Skeleton for NamingContextExt

See Also:
Serialized Form

Constructor Summary
_NamingContextExtImplBase()
           
 
Method Summary
 String[] _ids()
          Retrieves a string array containing the repository identifiers supported by this ObjectImpl object.
 OutputStream _invoke(String _method, InputStream _is, 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
getClass, notify, notifyAll, wait, wait, wait
 
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
 
Methods inherited from interface org.omg.CosNaming.NamingContextExtOperations
bind_context, bind_new_context, bind, destroy, list, new_context, rebind_context, rebind, resolve_str, resolve, to_name, to_string, to_url, unbind
 
Methods inherited from interface org.omg.CosNaming.NamingContext
bind_context, bind_new_context, bind, destroy, list, new_context, rebind_context, rebind, resolve, unbind
 

Constructor Detail

_NamingContextExtImplBase

public _NamingContextExtImplBase()
Method Detail

_invoke

public OutputStream _invoke(String _method,
                            InputStream _is,
                            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 interface InvokeHandler
Parameters:
_method - The method name.
_is - The InputStream containing the marshalled arguments.
_rh - The ResponseHandler which the servant uses to construct a proper reply
Returns:
The OutputStream created by the ResponseHandler which contains the marshalled reply

_ids

public String[] _ids()
Description copied from class: ObjectImpl
Retrieves a string array containing the repository identifiers supported by this ObjectImpl object. For example, for a stub, this method returns information about all the interfaces supported by the stub.

Specified by:
_ids in class ObjectImpl
Returns:
the array of all repository identifiers supported by this ObjectImpl instance

Novell exteNd Messaging Platform 5.1

exteNd is a registered trademark of Novell, Inc.
Copyright 1998-2003 Novell, Inc. All Rights Reserved.