|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.ehcache.statistics.beans.AttributeProxy<T>
T
- the return type/set type for the attributepublic abstract class AttributeProxy<T>
The Class AttributeProxy, used to proxy operations from a dynamic mbean to a POJO object. Override get()/set() as needed.
Constructor Summary | |
---|---|
AttributeProxy(Class<T> clazz,
String name,
String description,
boolean isRead,
boolean isWrite)
Instantiates a new attribute proxy. |
Method Summary | |
---|---|
T |
get(String name)
Gets the value. |
String |
getDescription()
Gets the description. |
String |
getName()
Gets the name. |
Class<?> |
getTypeClass()
Gets the type class. |
boolean |
isRead()
Checks if is readable. |
boolean |
isWrite()
Checks if is writable. |
void |
set(String name,
T t)
Sets the value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AttributeProxy(Class<T> clazz, String name, String description, boolean isRead, boolean isWrite)
clazz
- the clazz of the return typename
- the namedescription
- the descriptionisRead
- readableisWrite
- writableMethod Detail |
---|
public String getDescription()
public Class<?> getTypeClass()
public String getName()
public T get(String name)
name
- the name
public void set(String name, T t)
name
- the namet
- the valuepublic boolean isRead()
public boolean isWrite()
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |