Package org.apache.tomcat
Interface InstanceManager
- All Known Implementing Classes:
- DefaultInstanceManager,- SimpleInstanceManager
public interface InstanceManager
- 
Method SummaryModifier and TypeMethodDescriptiondefault voidCalled by the component using the InstanceManager periodically to perform any regular maintenance that might be required.voidnewInstance(Class<?> clazz) voidnewInstance(String className) newInstance(String fqcn, ClassLoader classLoader) 
- 
Method Details- 
newInstanceObject newInstance(Class<?> clazz) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException, IllegalArgumentException, NoSuchMethodException, SecurityException 
- 
newInstanceObject newInstance(String className) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException, ClassNotFoundException, IllegalArgumentException, NoSuchMethodException, SecurityException 
- 
newInstanceObject newInstance(String fqcn, ClassLoader classLoader) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException, ClassNotFoundException, IllegalArgumentException, NoSuchMethodException, SecurityException 
- 
newInstancevoid newInstance(Object o) throws IllegalAccessException, InvocationTargetException, NamingException 
- 
destroyInstance
- 
backgroundProcessdefault void backgroundProcess()Called by the component using the InstanceManager periodically to perform any regular maintenance that might be required. By default, this method is a NO-OP.
 
-