javax.rmi.CORBA
Interface Tie

All Superinterfaces:
InvokeHandler sample code for org.omg.CORBA.portable.InvokeHandler definition code for org.omg.CORBA.portable.InvokeHandler

public interface Tie
extends InvokeHandler sample code for org.omg.CORBA.portable.InvokeHandler definition code for org.omg.CORBA.portable.InvokeHandler

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


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

Method Detail

thisObject sample code for javax.rmi.CORBA.Tie.thisObject() definition code for javax.rmi.CORBA.Tie.thisObject()

Object sample code for org.omg.CORBA.Object definition code for 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 sample code for javax.rmi.CORBA.Tie.deactivate() definition code for javax.rmi.CORBA.Tie.deactivate()

void deactivate()
                throws NoSuchObjectException sample code for java.rmi.NoSuchObjectException definition code for java.rmi.NoSuchObjectException 
Deactivates the target object represented by this tie.

Throws:
NoSuchObjectException sample code for java.rmi.NoSuchObjectException definition code for java.rmi.NoSuchObjectException

orb sample code for javax.rmi.CORBA.Tie.orb() definition code for javax.rmi.CORBA.Tie.orb()

ORB sample code for org.omg.CORBA.ORB definition code for org.omg.CORBA.ORB  orb()
Returns the ORB for this tie.

Returns:
the ORB.

orb sample code for javax.rmi.CORBA.Tie.orb(org.omg.CORBA.ORB) definition code for javax.rmi.CORBA.Tie.orb(org.omg.CORBA.ORB)

void orb(ORB sample code for org.omg.CORBA.ORB definition code for org.omg.CORBA.ORB  orb)
Sets the ORB for this tie.

Parameters:
orb - the ORB.

setTarget sample code for javax.rmi.CORBA.Tie.setTarget(java.rmi.Remote) definition code for javax.rmi.CORBA.Tie.setTarget(java.rmi.Remote)

void setTarget(Remote sample code for java.rmi.Remote definition code for java.rmi.Remote  target)
Called by Util.registerTarget(javax.rmi.CORBA.Tie, java.rmi.Remote) sample code for javax.rmi.CORBA.Util.registerTarget(javax.rmi.CORBA.Tie, java.rmi.Remote) definition code for javax.rmi.CORBA.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 sample code for javax.rmi.CORBA.Tie.getTarget() definition code for javax.rmi.CORBA.Tie.getTarget()

Remote sample code for java.rmi.Remote definition code for java.rmi.Remote  getTarget()
Returns the target for this tie.

Returns:
the target.