Package org.apache.tomcat
Class SimpleInstanceManager
java.lang.Object
org.apache.tomcat.SimpleInstanceManager
- All Implemented Interfaces:
InstanceManager
SimpleInstanceManager
Implement the org.apache.tomcat.InstanceManager interface.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
newInstance
(Class<?> clazz) void
newInstance
(String className) newInstance
(String fqcn, ClassLoader classLoader)
-
Constructor Details
-
SimpleInstanceManager
public SimpleInstanceManager()
-
-
Method Details
-
newInstance
public Object newInstance(Class<?> clazz) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException, NoSuchMethodException - Specified by:
newInstance
in interfaceInstanceManager
- Throws:
IllegalAccessException
InvocationTargetException
NamingException
InstantiationException
NoSuchMethodException
-
newInstance
public Object newInstance(String className) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException, ClassNotFoundException, NoSuchMethodException - Specified by:
newInstance
in interfaceInstanceManager
- Throws:
IllegalAccessException
InvocationTargetException
NamingException
InstantiationException
ClassNotFoundException
NoSuchMethodException
-
newInstance
public Object newInstance(String fqcn, ClassLoader classLoader) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException, ClassNotFoundException, NoSuchMethodException - Specified by:
newInstance
in interfaceInstanceManager
- Throws:
IllegalAccessException
InvocationTargetException
NamingException
InstantiationException
ClassNotFoundException
NoSuchMethodException
-
newInstance
public void newInstance(Object o) throws IllegalAccessException, InvocationTargetException, NamingException - Specified by:
newInstance
in interfaceInstanceManager
- Throws:
IllegalAccessException
InvocationTargetException
NamingException
-
destroyInstance
- Specified by:
destroyInstance
in interfaceInstanceManager
- Throws:
IllegalAccessException
InvocationTargetException
-