|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.metagloss.injection.InjectionManager
public class InjectionManager
The InjectionManager
provides a retrieval and caching mechanism
for annotated getters and setters.
Injector
implementation;
the InjectionManager
has no bearing on the injection itself, except for the
AnnotatedMethod
s it provides.
CursorBind
,
XMLBind
Method Summary | |
---|---|
static java.lang.String |
getCacheDescription()
Gets the cache formatted formatted for readability. |
static java.util.Set<AnnotatedMethod> |
getGetters(java.lang.Class<?> source,
java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
Gets all getters for the requested class and annotation combination. |
static java.util.Set<AnnotatedMethod> |
getSetters(java.lang.Class<?> source,
java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
Gets all setters for the requested class and annotation combination. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.util.Set<AnnotatedMethod> getGetters(java.lang.Class<?> source, java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
getters
for the requested class and annotation combination. The getters
are cached internally after calling this method the first time.
boolean is.*()
source
- Class from which to extract annotated setters.annotation
- Annotation class to match.
public static java.util.Set<AnnotatedMethod> getSetters(java.lang.Class<?> source, java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
setters
for the requested class and annotation combination. The setters
are cached internally after calling this method the first time.
source
- Class from which to extract annotated setters.annotation
- Annotation class to match.
public static java.lang.String getCacheDescription()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |