javax.rmi.CORBA
Interface Tie


public interface Tie
extends org.omg.CORBA.portable.InvokeHandler

Defines methods which all RMI-IIOP server side ties must implement.


Method Summary
 void deactivate()
          Deactivates the target object represented by this tie.
 java.rmi.Remote getTarget()
          Returns the target for this tie.
 org.omg.CORBA.ORB orb()
          Returns the ORB for this tie.
 void orb(org.omg.CORBA.ORB orb)
          Sets the ORB for this tie.
 void setTarget(java.rmi.Remote target)
          Called by Util.registerTarget(javax.rmi.CORBA.Tie, java.rmi.Remote) to set the target for this tie.
 org.omg.CORBA.Object thisObject()
          Returns an object reference for the target object represented by this tie.
 
Methods inherited from interface org.omg.CORBA.portable.InvokeHandler
_invoke
 

Method Detail

thisObject

public org.omg.CORBA.Object thisObject()
Returns an object reference for the target object represented by this tie.
Returns:
an object reference for the target object.

deactivate

public void deactivate()
Deactivates the target object represented by this tie.

orb

public org.omg.CORBA.ORB orb()
Returns the ORB for this tie.
Returns:
the ORB.

orb

public void orb(org.omg.CORBA.ORB orb)
Sets the ORB for this tie.
Parameters:
orb - the ORB.

setTarget

public void setTarget(java.rmi.Remote target)
Called by Util.registerTarget(javax.rmi.CORBA.Tie, java.rmi.Remote) to set the target for this tie.
Parameters:
target - the object to use as the target for this tie.

getTarget

public java.rmi.Remote getTarget()
Returns the target for this tie.
Returns:
the target.