|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CacheAttributeSource
This interface provides operations to determine if methods/classes
have CacheableAttribute or TriggersRemoveAttribute
information.
| Method Summary | |
|---|---|
AdviceType |
getAdviceType(java.lang.reflect.Method method,
java.lang.Class<?> targetClass)
Determines if the method has should be cached or involved with cache entry removal. |
CacheableAttribute |
getCacheableAttribute(java.lang.reflect.Method method,
java.lang.Class<?> targetClass)
Gets the runtime caching information for a method. |
TriggersRemoveAttribute |
getTriggersRemoveAttribute(java.lang.reflect.Method method,
java.lang.Class<?> targetClass)
Gets the runtime triggers-remove information for a method. |
| Method Detail |
|---|
AdviceType getAdviceType(java.lang.reflect.Method method,
java.lang.Class<?> targetClass)
AdviceType.NONE if the
method doesn't participate with either.
method - The method to inspecttargetClass - The class the method exists on
AdviceType.NONE if the method is not advised. Will never return null.
TriggersRemoveAttribute getTriggersRemoveAttribute(java.lang.reflect.Method method,
java.lang.Class<?> targetClass)
method - The method to inspecttargetClass - The class the method exists on
CacheableAttribute getCacheableAttribute(java.lang.reflect.Method method,
java.lang.Class<?> targetClass)
method - The method to inspecttargetClass - The class the method exists on
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||