public class AnnotationResolver
extends java.lang.Object
Constructor and Description |
---|
AnnotationResolver() |
Modifier and Type | Method and Description |
---|---|
boolean |
beanHasAnnotationName(java.lang.Class type)
Returns
true if bean has name defined by Petite annotation. |
java.lang.String |
resolveBeanName(java.lang.Class type,
boolean useLongTypeName)
Resolves bean's name from bean annotation or type name.
|
java.lang.Class<? extends Scope> |
resolveBeanScopeType(java.lang.Class type)
Resolves bean's scope type from the annotation.
|
WiringMode |
resolveBeanWiringMode(java.lang.Class type)
Resolves bean's auto-wire flag from the annotation.
|
public WiringMode resolveBeanWiringMode(java.lang.Class type)
public java.lang.Class<? extends Scope> resolveBeanScopeType(java.lang.Class type)
null
if annotation doesn't exist.public java.lang.String resolveBeanName(java.lang.Class type, boolean useLongTypeName)
public boolean beanHasAnnotationName(java.lang.Class type)
true
if bean has name defined by Petite annotation.Copyright © 2003-present Jodd Team