Spec-Zone .ru
спецификации, руководства, описания, API
Please note that the specifications and other information contained herein are not final and are subject to change. The information is being made available to you solely for purpose of evaluation.

Java™ Platform
Standard Ed. 7

DRAFT ea-b118

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
Modifier and Type Method and Description
 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

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.

Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.