com.bigdata.jini.util
Class JiniUtil

java.lang.Object
  extended by com.bigdata.jini.util.JiniUtil

public class JiniUtil
extends Object

Some utility methods that attempt to isolate the aspects of the Jini architecture that would otherwise bleed into the bigdata architecture.

Version:
$Id$
Author:
Bryan Thompson

Constructor Summary
JiniUtil()
           
 
Method Summary
static UUID serviceID2UUID(net.jini.core.lookup.ServiceID serviceID)
          Convert a Jini ServiceID to a UUID (this changes the kind of UUID implementation object but preserves the UUID data).
static net.jini.core.lookup.ServiceID uuid2ServiceID(UUID uuid)
          Convert a UUID to a Jini ServiceID (this changes the kind of UUID implementation object but preserves the UUID data).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiniUtil

public JiniUtil()
Method Detail

serviceID2UUID

public static UUID serviceID2UUID(net.jini.core.lookup.ServiceID serviceID)
Convert a Jini ServiceID to a UUID (this changes the kind of UUID implementation object but preserves the UUID data).

Parameters:
serviceID - The ServiceID.
Returns:
The UUID.

uuid2ServiceID

public static net.jini.core.lookup.ServiceID uuid2ServiceID(UUID uuid)
Convert a UUID to a Jini ServiceID (this changes the kind of UUID implementation object but preserves the UUID data).

Parameters:
uuid - The UUID.
Returns:
The Jini ServiceID.


Copyright © 2006-2012 SYSTAP, LLC. All Rights Reserved.