org.jboss.cache.pojo.impl
Class CachedType
java.lang.Object
org.jboss.cache.pojo.impl.CachedType
public class CachedType
- extends java.lang.Object
Represent a cached object type, e.g., whether it is primitive or not.
Note: need to pay special attention not to leak classloader.
- Author:
- Harald Gliebe, Ben Wang
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CachedType
public CachedType()
CachedType
public CachedType(java.lang.Class type)
getType
public java.lang.Class getType()
isImmediate
public boolean isImmediate()
isImmutable
public boolean isImmutable()
getFields
public java.util.List getFields()
getField
public java.lang.reflect.Field getField(java.lang.String name)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
isNonReplicatable
public static boolean isNonReplicatable(java.lang.reflect.Field field)
isSimpleAttribute
public static boolean isSimpleAttribute(java.lang.reflect.Field field)
attributeName
protected static java.lang.String attributeName(java.lang.String methodName)
isGet
protected static boolean isGet(java.lang.reflect.Method method)
isSet
protected static boolean isSet(java.lang.reflect.Method method)