jodd.petite.manager
Class CtorResolver
java.lang.Object
jodd.petite.manager.CtorResolver
public class CtorResolver
- extends java.lang.Object
Resolver for constructor injection points.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ctors
protected java.util.Map<java.lang.Class,CtorInjectionPoint> ctors
EMPTY_STRING
protected static final java.lang.String[] EMPTY_STRING
CtorResolver
public CtorResolver()
resolve
public CtorInjectionPoint resolve(java.lang.Class type)
- Resolves constructor injection point from type. Looks for single annotated constructor.
If no annotated constructors found, the total number of constructors will be checked.
If there is only one constructor, that one will be used as injection point. If more
constructors exist, the default one will be used as injection point.
resolveDefault
public CtorInjectionPoint resolveDefault(java.lang.Class type)
resolve
protected CtorInjectionPoint resolve(java.lang.Class type,
boolean useAnnotation)
Copyright © 2003-2010 Jodd Team