public interface InstanceManager
Modifier and Type | Method and Description |
---|---|
default void |
backgroundProcess()
Called by the component using the InstanceManager periodically to perform
any regular maintenance that might be required.
|
void |
destroyInstance(Object o) |
Object |
newInstance(Class<?> clazz) |
void |
newInstance(Object o) |
Object |
newInstance(String className) |
Object |
newInstance(String fqcn,
ClassLoader classLoader) |
Object newInstance(Class<?> clazz) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException
Object newInstance(String className) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException, ClassNotFoundException
Object newInstance(String fqcn, ClassLoader classLoader) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException, ClassNotFoundException
void newInstance(Object o) throws IllegalAccessException, InvocationTargetException, NamingException
void destroyInstance(Object o) throws IllegalAccessException, InvocationTargetException
default void backgroundProcess()
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.