Class SimpleInstanceManager
java.lang.Object
org.apache.tomcat.SimpleInstanceManager
- All Implemented Interfaces:
InstanceManager
SimpleInstanceManager implements the org.apache.tomcat.InstanceManager interface.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidnewInstance(Class<?> clazz) voidnewInstance(String className) newInstance(String fqcn, ClassLoader classLoader) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.tomcat.InstanceManager
backgroundProcess
-
Constructor Details
-
SimpleInstanceManager
public SimpleInstanceManager()
-
-
Method Details
-
newInstance
public Object newInstance(Class<?> clazz) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException, NoSuchMethodException - Specified by:
newInstancein interfaceInstanceManager- Throws:
IllegalAccessExceptionInvocationTargetExceptionNamingExceptionInstantiationExceptionNoSuchMethodException
-
newInstance
public Object newInstance(String className) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException, ClassNotFoundException, NoSuchMethodException - Specified by:
newInstancein interfaceInstanceManager- Throws:
IllegalAccessExceptionInvocationTargetExceptionNamingExceptionInstantiationExceptionClassNotFoundExceptionNoSuchMethodException
-
newInstance
public Object newInstance(String fqcn, ClassLoader classLoader) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException, ClassNotFoundException, NoSuchMethodException - Specified by:
newInstancein interfaceInstanceManager- Throws:
IllegalAccessExceptionInvocationTargetExceptionNamingExceptionInstantiationExceptionClassNotFoundExceptionNoSuchMethodException
-
newInstance
public void newInstance(Object o) throws IllegalAccessException, InvocationTargetException, NamingException - Specified by:
newInstancein interfaceInstanceManager- Throws:
IllegalAccessExceptionInvocationTargetExceptionNamingException
-
destroyInstance
- Specified by:
destroyInstancein interfaceInstanceManager- Throws:
IllegalAccessExceptionInvocationTargetException
-