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()
isImmediate
public static boolean isImmediate(java.lang.Class clazz)
isImmutable
public boolean isImmutable()
getFields
public java.util.List<FieldPersistentReference> getFields()
getFinalFields
public java.util.List<FieldPersistentReference> getFinalFields()
getField
public java.lang.reflect.Field getField(java.lang.String name)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
isNonReplicable
public static boolean isNonReplicable(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)
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.