org.objectweb.david.apis.services.naming
Class _NameServerImplBase

java.lang.Object
  extended byorg.omg.CORBA.portable.ObjectImpl
      extended byorg.objectweb.david.apis.services.naming._NameServerImplBase
All Implemented Interfaces:
org.omg.CORBA.portable.IDLEntity, org.omg.CORBA.portable.InvokeHandler, NameServer, NameServerOperations, org.omg.CORBA.Object, java.io.Serializable
Direct Known Subclasses:
Directory

public class _NameServerImplBase
extends org.omg.CORBA.portable.ObjectImpl
implements NameServer, org.omg.CORBA.portable.InvokeHandler

org.objectweb.david.apis.services.naming.NameServer Server Stub generated by the Idl2Java Compiler 3.1 of Jonathan

See Also:
Serialized Form

Constructor Summary
_NameServerImplBase()
           
_NameServerImplBase(NameServerOperations continuation)
           
 
Method Summary
protected  int _getMethodSwitchKey(java.lang.String _methName)
           
 java.lang.String[] _ids()
           
 org.omg.CORBA.portable.OutputStream _invoke(java.lang.String _method, org.omg.CORBA.portable.InputStream _istream, org.omg.CORBA.portable.ResponseHandler _handler)
           
 void _setContinuation(java.lang.Object continuation)
           
 org.omg.CORBA.Object get(java.lang.String name)
          Returns the interface registered under the name 'name' in the name server.
 boolean put(java.lang.String name, org.omg.CORBA.Object itf, boolean replace)
          Registers interface 'itf' under the name 'name' in the name server.
 void remove(java.lang.String name)
          Removes the interface registered under the name 'name' from the name server.
 
Methods inherited from class org.omg.CORBA.portable.ObjectImpl
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_interface, _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 org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Constructor Detail

_NameServerImplBase

public _NameServerImplBase()

_NameServerImplBase

public _NameServerImplBase(NameServerOperations continuation)
Method Detail

_getMethodSwitchKey

protected int _getMethodSwitchKey(java.lang.String _methName)

_invoke

public org.omg.CORBA.portable.OutputStream _invoke(java.lang.String _method,
                                                   org.omg.CORBA.portable.InputStream _istream,
                                                   org.omg.CORBA.portable.ResponseHandler _handler)
Specified by:
_invoke in interface org.omg.CORBA.portable.InvokeHandler

remove

public void remove(java.lang.String name)
Description copied from interface: NameServerOperations
Removes the interface registered under the name 'name' from the name server.

Specified by:
remove in interface NameServerOperations
Parameters:
name - the name of the interface;

put

public boolean put(java.lang.String name,
                   org.omg.CORBA.Object itf,
                   boolean replace)
Description copied from interface: NameServerOperations
Registers interface 'itf' under the name 'name' in the name server.

Specified by:
put in interface NameServerOperations
Parameters:
name - the name of the interface;
itf - the interface to register.
replace - true means replace any existing interface registered under the same name, if any.
Returns:
true if the interface could be added to the name server, false otherwise.

get

public org.omg.CORBA.Object get(java.lang.String name)
Description copied from interface: NameServerOperations
Returns the interface registered under the name 'name' in the name server.

Specified by:
get in interface NameServerOperations
Parameters:
name - the name of the interface;
Returns:
the registered interface, 'null' if 'name' is not associated with any interface in the name server.

_ids

public java.lang.String[] _ids()

_setContinuation

public void _setContinuation(java.lang.Object continuation)