public class SimpleInstanceManager extends java.lang.Object implements InstanceManager
Constructor and Description |
---|
SimpleInstanceManager() |
Modifier and Type | Method and Description |
---|---|
void |
destroyInstance(java.lang.Object o) |
java.lang.Object |
newInstance(java.lang.Class<?> clazz) |
void |
newInstance(java.lang.Object o) |
java.lang.Object |
newInstance(java.lang.String className) |
java.lang.Object |
newInstance(java.lang.String fqcn,
java.lang.ClassLoader classLoader) |
public java.lang.Object newInstance(java.lang.Class<?> clazz) throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, javax.naming.NamingException, java.lang.InstantiationException, java.lang.NoSuchMethodException
newInstance
in interface InstanceManager
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
javax.naming.NamingException
java.lang.InstantiationException
java.lang.NoSuchMethodException
public java.lang.Object newInstance(java.lang.String className) throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, javax.naming.NamingException, java.lang.InstantiationException, java.lang.ClassNotFoundException, java.lang.NoSuchMethodException
newInstance
in interface InstanceManager
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
javax.naming.NamingException
java.lang.InstantiationException
java.lang.ClassNotFoundException
java.lang.NoSuchMethodException
public java.lang.Object newInstance(java.lang.String fqcn, java.lang.ClassLoader classLoader) throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, javax.naming.NamingException, java.lang.InstantiationException, java.lang.ClassNotFoundException, java.lang.NoSuchMethodException
newInstance
in interface InstanceManager
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
javax.naming.NamingException
java.lang.InstantiationException
java.lang.ClassNotFoundException
java.lang.NoSuchMethodException
public void newInstance(java.lang.Object o) throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, javax.naming.NamingException
newInstance
in interface InstanceManager
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
javax.naming.NamingException
public void destroyInstance(java.lang.Object o) throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
destroyInstance
in interface InstanceManager
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.