public class NoAnnotationLifecyleProvider extends Object implements LifecycleProvider2
| Constructor and Description | 
|---|
| NoAnnotationLifecyleProvider() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | destroyInstance(Object o)Take whatever steps are needed to shut down the object, including calling a preDestroy method. | 
| 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. | 
public void destroyInstance(Object o) throws IllegalAccessException, InvocationTargetException
LifecycleProviderdestroyInstance in interface LifecycleProvidero - object to shut down.IllegalAccessExceptionInvocationTargetExceptionpublic Object newInstance(String className) throws InstantiationException, IllegalAccessException, InvocationTargetException, ClassNotFoundException
LifecycleProvider2newInstance in interface LifecycleProvidernewInstance in interface LifecycleProvider2className - name of the class of the desired objectInstantiationExceptionIllegalAccessExceptionInvocationTargetExceptionClassNotFoundExceptionpublic void postConstruct(Object o) throws IllegalAccessException, InvocationTargetException
LifecycleProvider2postConstruct in interface LifecycleProvider2o - object to initializeIllegalAccessExceptionInvocationTargetExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.