W3cubDocs

/OpenJDK 8 Web

Interface Tie

All Superinterfaces:
InvokeHandler
public interface Tie
extends InvokeHandler

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

Methods

thisObject

Object thisObject()

Returns an object reference for the target object represented by this tie.

Returns:
an object reference for the target object.

deactivate

void deactivate()
         throws NoSuchObjectException

Deactivates the target object represented by this tie.

Throws:
NoSuchObjectException

orb

ORB orb()

Returns the ORB for this tie.

Returns:
the ORB.

orb

void orb(ORB orb)

Sets the ORB for this tie.

Parameters:
orb - the ORB.

setTarget

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

Remote getTarget()

Returns the target for this tie.

Returns:
the target.

© 1993–2017, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.