org.openorb.corbaloc
Class CorbalocServicePOATie
java.lang.Object
|
+--org.omg.PortableServer.Servant
|
+--org.openorb.corbaloc.CorbalocServicePOA
|
+--org.openorb.corbaloc.CorbalocServicePOATie
- All Implemented Interfaces:
- CorbalocServiceOperations, InvokeHandler
- public class CorbalocServicePOATie
- extends CorbalocServicePOA
The initial references service. Used for registering
references to be resolved as corbaloc addresses.
Methods inherited from class org.omg.PortableServer.Servant |
_get_delegate, _get_interface_def, _get_interface, _is_a, _non_existent, _object_id, _orb, _orb, _poa, _set_delegate, _this_object, _this_object |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CorbalocServicePOATie
public CorbalocServicePOATie(CorbalocServiceOperations tieObject)
CorbalocServicePOATie
public CorbalocServicePOATie(CorbalocServiceOperations tieObject,
POA poa)
_delegate
public CorbalocServiceOperations _delegate()
_delegate
public void _delegate(CorbalocServiceOperations delegate_)
_default_POA
public POA _default_POA()
- Overrides:
_default_POA
in class Servant
get
public Object get(java.lang.String initRef)
- Description copied from interface:
CorbalocServiceOperations
- Resolve using the given string. Used by JDK clients.
- 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.
- 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.
- 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.
- 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.