org.omg.CosNaming
Class _NamingContextImplBase

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

public abstract class _NamingContextImplBase
extends DynamicImplementation
implements NamingContext, InvokeHandler

The naming context implementation base.

See Also:
Serialized Form

Constructor Summary
_NamingContextImplBase()
           
 
Method Summary
 String[] _ids()
          Return the array of repository ids.
 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.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

_NamingContextImplBase

public _NamingContextImplBase()
Method Detail

_ids

public String[] _ids()
Return the array of repository ids.

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

_invoke

public OutputStream _invoke(String method,
                            InputStream in,
                            ResponseHandler rh)
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
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 DynamicImplementation
Parameters:
request - a server request.