Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-02

weblogic.rmi.spi
Interface HostID

All Superinterfaces:
Comparable

public interface HostID
extends Comparable

HostID is used by the RMI runtime to represent the process that hosts a remote object. Implementations of HostID are required to overide java.lang.Object methods toString(), hashCode and equals().


Method Summary
 boolean isLocal()
          Determine whether this ServerIdentity represents the currently running server.
 String objectToString()
          Returns the string representation of this HostID in a form that can be parsed by the corresponding stringToObject implementation.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

isLocal

boolean isLocal()
Determine whether this ServerIdentity represents the currently running server.

Returns:
true or false.

objectToString

String objectToString()
Returns the string representation of this HostID in a form that can be parsed by the corresponding stringToObject implementation. This method is used primarily to test DGC.


Copyright 1996, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-02