org.jboss.cache.pojo.util
Class ObjectUtil
java.lang.Object
org.jboss.cache.pojo.util.ObjectUtil
public final class ObjectUtil
- extends Object
Unitlity methods for pojo object.
- Author:
- Ben Wang
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectUtil
public ObjectUtil()
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.