public class MockLifecycleProvider2 extends Object implements LifecycleProvider2
Constructor and Description |
---|
MockLifecycleProvider2() |
Modifier and Type | Method and Description |
---|---|
void |
destroyInstance(Object instance) |
Object |
newInstance(String className) |
void |
postConstruct(Object instance) |
public Object newInstance(String className) throws InstantiationException, NamingException, IllegalAccessException, InvocationTargetException, ClassNotFoundException
newInstance
in interface LifecycleProvider
newInstance
in interface LifecycleProvider2
InstantiationException
NamingException
IllegalAccessException
InvocationTargetException
ClassNotFoundException
public void destroyInstance(Object instance) throws IllegalAccessException, InvocationTargetException
destroyInstance
in interface LifecycleProvider
IllegalAccessException
InvocationTargetException
public void postConstruct(Object instance) throws IllegalAccessException, InvocationTargetException
postConstruct
in interface LifecycleProvider2
IllegalAccessException
InvocationTargetException
Copyright © 2020 The Apache Software Foundation. All rights reserved.