public class SimpleInstanceManager extends Object implements InstanceManager
| Constructor and Description |
|---|
SimpleInstanceManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroyInstance(Object o) |
Object |
newInstance(Class<?> clazz) |
void |
newInstance(Object o) |
Object |
newInstance(String className) |
Object |
newInstance(String fqcn,
ClassLoader classLoader) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbackgroundProcesspublic Object newInstance(Class<?> clazz) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException, NoSuchMethodException
newInstance in interface InstanceManagerIllegalAccessExceptionInvocationTargetExceptionNamingExceptionInstantiationExceptionNoSuchMethodExceptionpublic Object newInstance(String className) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException, ClassNotFoundException, NoSuchMethodException
newInstance in interface InstanceManagerIllegalAccessExceptionInvocationTargetExceptionNamingExceptionInstantiationExceptionClassNotFoundExceptionNoSuchMethodExceptionpublic Object newInstance(String fqcn, ClassLoader classLoader) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException, ClassNotFoundException, NoSuchMethodException
newInstance in interface InstanceManagerIllegalAccessExceptionInvocationTargetExceptionNamingExceptionInstantiationExceptionClassNotFoundExceptionNoSuchMethodExceptionpublic void newInstance(Object o) throws IllegalAccessException, InvocationTargetException, NamingException
newInstance in interface InstanceManagerIllegalAccessExceptionInvocationTargetExceptionNamingExceptionpublic void destroyInstance(Object o) throws IllegalAccessException, InvocationTargetException
destroyInstance in interface InstanceManagerIllegalAccessExceptionInvocationTargetExceptionCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.