public class ClassSubstitutorComposite extends Object implements ClassSubstitutor
| Constructor and Description |
|---|
ClassSubstitutorComposite(ClassSubstitutor... substitutors) |
ClassSubstitutorComposite(List<ClassSubstitutor> substitutors) |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getClass(Class<?> cls) |
void |
init()
Indicates to the component that it is to initialise itself.
|
void |
injectInto(Object candidate)
Will inject itself into the candidate if the candidate implements the
corresponding *Aware type.
|
void |
shutdown()
Indicates to the component that it will no longer be used and should shut
itself down cleanly.
|
public ClassSubstitutorComposite(List<ClassSubstitutor> substitutors)
public ClassSubstitutorComposite(ClassSubstitutor... substitutors)
public void init()
ApplicationScopedComponentinit in interface ApplicationScopedComponentpublic void shutdown()
ApplicationScopedComponentshutdown in interface ApplicationScopedComponentpublic Class<?> getClass(Class<?> cls)
getClass in interface ClassSubstitutorpublic void injectInto(Object candidate)
InjectableinjectInto in interface InjectableCopyright © 2010–2014 The Apache Software Foundation. All rights reserved.