IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
 
[Sommaire]  [Top 50]  [F.A.Q.]  [ Java SE ]  [ Java EE ]  [Javadoc standard]  [Contact]
[ 1.4.2 ]  [ 5.0 ]  [ 6.0
Rechercher   
Dans
Options   sensible à la casse
étendre la recherche aux descriptions
Préférences
fr en 
 
Moteurs de recherche
JavaTM 2 Platform Std. Ed. v1.4.2

javax.rmi.CORBA
Interface Tie

All Superinterfaces:
InvokeHandler

public interface Tie
extends InvokeHandler

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


Method Summary
 void deactivate()
          Deactivates the target object represented by this tie.
 Remote getTarget()
          Returns the target for this tie.
 ORB orb()
          Returns the ORB for this tie.
 void orb(ORB orb)
          Sets the ORB for this tie.
 void setTarget(Remote target)
          Called by Util.registerTarget(javax.rmi.CORBA.Tie, java.rmi.Remote) to set the target for this tie.
 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 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()
                throws NoSuchObjectException
Deactivates the target object represented by this tie.

Throws:
NoSuchObjectException

orb

public ORB orb()
Returns the ORB for this tie.

Returns:
the ORB.

orb

public void orb(ORB orb)
Sets the ORB for this tie.

Parameters:
orb - the ORB.

setTarget

public void setTarget(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 Remote getTarget()
Returns the target for this tie.

Returns:
the target.

Copyright 2003 Sun Microsystems, Inc. All rights reserved