public interface LifecycleProvider2 extends LifecycleProvider
| Modifier and Type | Method and Description |
|---|---|
Object |
newInstance(String className)
Create an object of the class with the supplied name, inject dependencies as appropriate.
|
void |
postConstruct(Object o)
Call a postConstruct method as appropriate.
|
destroyInstanceObject newInstance(String className) throws ClassNotFoundException, IllegalAccessException, InstantiationException, NamingException, InvocationTargetException
newInstance in interface LifecycleProviderclassName - name of the class of the desired objectClassNotFoundExceptionIllegalAccessExceptionInstantiationExceptionNamingExceptionInvocationTargetExceptionvoid postConstruct(Object o) throws IllegalAccessException, InvocationTargetException
o - object to initializeIllegalAccessExceptionInvocationTargetExceptionCopyright © 2016 The Apache Software Foundation. All Rights Reserved.