org.jboss.cache.pojo.util
Class ObjectUtil

java.lang.Object
  extended by org.jboss.cache.pojo.util.ObjectUtil

public final class ObjectUtil
extends Object

Unitlity methods for pojo object.

Author:
Ben Wang

Constructor Summary
ObjectUtil()
           
 
Method Summary
static String getIndirectFqn(Fqn fqn)
           
static String getIndirectFqn(String fqn)
           
static String identityString(Object object)
           
static boolean isReachable(PojoCacheImpl cache, Object originalObject, Object thisObject)
          Static methos to check if thisObject is reachable from originalObject.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectUtil

public ObjectUtil()
Method Detail

isReachable

public static boolean isReachable(PojoCacheImpl cache,
                                  Object originalObject,
                                  Object thisObject)
                           throws CacheException
Static methos to check if thisObject is reachable from originalObject.

Parameters:
cache -
originalObject -
thisObject -
Returns:
true if reachable
Throws:
CacheException

getIndirectFqn

public static String getIndirectFqn(Fqn fqn)

getIndirectFqn

public static String getIndirectFqn(String fqn)

identityString

public static String identityString(Object object)


Copyright © 2008 JBoss, a division of Red Hat. All Rights Reserved.