Package javax.rmi.CORBA
Interface Tie
- All Superinterfaces:
InvokeHandler
- All Known Implementing Classes:
ReflectiveTie
Defines methods which all RMI-IIOP server side ties must implement.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Deactivates the target object represented by this tie.Returns the target for this tie.orb()
Returns the ORB for this tie.void
Sets the ORB for this tie.void
Called byUtil.registerTarget(javax.rmi.CORBA.Tie, java.rmi.Remote)
to set the target for this tie.Returns an object reference for the target object represented by this tie.Methods inherited from interface org.omg.CORBA.portable.InvokeHandler
_invoke
-
Method Details
-
thisObject
Object thisObject()Returns an object reference for the target object represented by this tie.- Returns:
- an object reference for the target object.
-
deactivate
Deactivates the target object represented by this tie.- Throws:
NoSuchObjectException
- if this tie does not represent an object
-
orb
ORB orb()Returns the ORB for this tie.- Returns:
- the ORB.
-
orb
Sets the ORB for this tie.- Parameters:
orb
- the ORB.
-
setTarget
Called byUtil.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
Remote getTarget()Returns the target for this tie.- Returns:
- the target.
-