org.openorb.corbaloc
Class _CorbalocServiceStub

java.lang.Object
  |
  +--org.omg.CORBA.portable.ObjectImpl
        |
        +--org.openorb.corbaloc._CorbalocServiceStub
All Implemented Interfaces:
CorbalocService, CorbalocServiceOperations, IDLEntity, Object, java.io.Serializable

public class _CorbalocServiceStub
extends ObjectImpl
implements CorbalocService

The initial references service. Used for registering references to be resolved as corbaloc addresses.

See Also:
Serialized Form

Constructor Summary
_CorbalocServiceStub()
           
 
Method Summary
 java.lang.String[] _ids()
           
 Object get(java.lang.String initRef)
          Resolve using the given string.
 void put(java.lang.String initRef, Object obj)
          Add a new initial reference.
 void register(byte[] key, Object obj)
          Add a new initial reference.
 Object resolve(byte[] key)
          Resolve using given byte array.
 
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
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

_CorbalocServiceStub

public _CorbalocServiceStub()
Method Detail

_ids

public java.lang.String[] _ids()
Overrides:
_ids in class ObjectImpl

get

public Object get(java.lang.String initRef)
Description copied from interface: CorbalocServiceOperations
Resolve using the given string. Used by JDK clients.
Specified by:
get in interface CorbalocServiceOperations
Following copied from interface: org.openorb.corbaloc.CorbalocServiceOperations
Parameters:
initRef - String name of initial reference. Should be RFC2396 encoded.
Throws:
BAD_PARAM - if the initial reference does not exist.

put

public void put(java.lang.String initRef,
                Object obj)
Description copied from interface: CorbalocServiceOperations
Add a new initial reference. Redirect will be nonpermanent.
Specified by:
put in interface CorbalocServiceOperations
Following copied from interface: org.openorb.corbaloc.CorbalocServiceOperations
Parameters:
initRef - String name of initial reference. Should be RFC2396 encoded.
obj - the target object.
Throws:
BAD_PARAM - if the initial reference already exists.

resolve

public Object resolve(byte[] key)
Description copied from interface: CorbalocServiceOperations
Resolve using given byte array.
Specified by:
resolve in interface CorbalocServiceOperations
Following copied from interface: org.openorb.corbaloc.CorbalocServiceOperations
Parameters:
key - Initial reference key.
Throws:
BAD_PARAM - if the initial reference does not exist.

register

public void register(byte[] key,
                     Object obj)
Description copied from interface: CorbalocServiceOperations
Add a new initial reference.
Specified by:
register in interface CorbalocServiceOperations
Following copied from interface: org.openorb.corbaloc.CorbalocServiceOperations
Parameters:
initRef - String name of initial reference. Should be RFC2396 encoded.
obj - the target object. Null to unbind.