org.omg.CosNaming
Class _NamingContextExtImplBase

java.lang.Object
  extended by org.omg.CORBA.portable.ObjectImpl
      extended by org.omg.CORBA.DynamicImplementation
          extended by org.omg.CosNaming._NamingContextImplBase
              extended by org.omg.CosNaming._NamingContextExtImplBase
All Implemented Interfaces:
Serializable, Object, IDLEntity, InvokeHandler, NamingContext, NamingContextExt, NamingContextExtOperations, NamingContextOperations

public abstract class _NamingContextExtImplBase
extends _NamingContextImplBase
implements NamingContextExt, InvokeHandler

The extended naming context implementation base.

See Also:
Serialized Form

Constructor Summary
_NamingContextExtImplBase()
           
 
Method Summary
 String[] _ids()
          Return the array of repository ids for this object.
 OutputStream _invoke(String method, InputStream in, ResponseHandler rh)
          The server calls this method after receiving the request message from client.
 void invoke(ServerRequest request)
          The obsolete invocation using server request.
 
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, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.omg.CosNaming.NamingContextExtOperations
resolve_str, to_name, to_string, to_url
 
Methods inherited from interface org.omg.CosNaming.NamingContext
bind_context, bind_new_context, bind, destroy, list, new_context, rebind_context, rebind, resolve, unbind
 
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
 

Constructor Detail

_NamingContextExtImplBase

public _NamingContextExtImplBase()
Method Detail

_ids

public String[] _ids()
Return the array of repository ids for this object. This stub can be the base of the two CORBA objects, so it has two repository ids, for NamingContext and for NamingContextExt.

Overrides:
_ids in class _NamingContextImplBase
Returns:
the empty array, always.

_invoke

public OutputStream _invoke(String method,
                            InputStream in,
                            ResponseHandler rh)
Description copied from class: _NamingContextImplBase
The server calls this method after receiving the request message from client. The implementation base calls one of its abstract methods to perform the requested operation.

Specified by:
_invoke in interface InvokeHandler
Overrides:
_invoke in class _NamingContextImplBase
Parameters:
method - the method being invoked.
in - the stream to read parameters from.
rh - the handler to get a stream for writing a response.
Returns:
the stream, returned by the handler.

invoke

public void invoke(ServerRequest request)
The obsolete invocation using server request. Implemented for compatibility reasons, but is it more effectinve to use _invoke(java.lang.String, org.omg.CORBA.portable.InputStream, org.omg.CORBA.portable.ResponseHandler).

Overrides:
invoke in class _NamingContextImplBase
Parameters:
request - a server request.