站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 Cache API Documentation 英文版文档

CachedType (JBossCache API) - JBoss 4.0.1 sp1 Cache API Documentation 英文版文档


org.jboss.cache.aop
Class CachedType

java.lang.Object
  extended byorg.jboss.cache.aop.CachedType

public class CachedType
extends Object

Represent a cached object type, e.g., whether it is primitive or not.

Author:
Harald Gliebe, Ben Wang

Field Summary
protected  Map attributeMap
           
protected  List attributes
           
protected  Map fieldMap
           
protected  List fields
           
protected  boolean immediate
           
protected static Set immediates
           
protected  boolean immutable
           
protected  Class type
           
 
Constructor Summary
CachedType()
           
CachedType(Class type)
           
 
Method Summary
protected  String attributeName(String methodName)
           
protected  CachedAttribute getAttribute(Method method, Map map, boolean create)
           
 Field getField(String name)
           
 List getFields()
           
 Class getType()
           
protected  boolean isGet(Method method)
           
 boolean isImmediate()
           
static boolean isImmediate(Class clazz)
           
 boolean isImmutable()
           
static boolean isNonReplicatable(Field f)
           
protected  boolean isSet(Method method)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

immediates

protected static Set immediates

type

protected Class type

immutable

protected boolean immutable

immediate

protected boolean immediate

attributes

protected List attributes

attributeMap

protected Map attributeMap

fields

protected List fields

fieldMap

protected Map fieldMap
Constructor Detail

CachedType

public CachedType()

CachedType

public CachedType(Class type)
Method Detail

getType

public Class getType()

isImmediate

public boolean isImmediate()

isImmediate

public static boolean isImmediate(Class clazz)

isImmutable

public boolean isImmutable()

getFields

public List getFields()

getField

public Field getField(String name)

toString

public String toString()

isNonReplicatable

public static boolean isNonReplicatable(Field f)

attributeName

protected String attributeName(String methodName)

getAttribute

protected CachedAttribute getAttribute(Method method,
                                       Map map,
                                       boolean create)

isGet

protected boolean isGet(Method method)

isSet

protected boolean isSet(Method method)


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.