Top Methods
org.apache.tomcat

public Interface InstanceManager

Known Direct Implementers
org.apache.tomcat.SimpleInstanceManager, org.apache.catalina.core.DefaultInstanceManager
Imports
java.lang.reflect.InvocationTargetException, javax.naming.NamingException

Method Summary

Modifier and TypeMethod and Description
public default void
backgroundProcess()

Called by the component using the InstanceManager periodically to perform any regular maintenance that might be required.

public void
public Object
newInstance(Class<?> clazz)

public Object
newInstance(String className)

public Object
newInstance(String fqcn, ClassLoader classLoader)

public void

Method Detail

backgroundProcessback to summary
public default 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.

destroyInstanceback to summary
public void destroyInstance(Object o) throws IllegalAccessException, InvocationTargetException
newInstanceback to summary
public Object newInstance(Class<?> clazz) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException, IllegalArgumentException, NoSuchMethodException, SecurityException
newInstanceback to summary
public Object newInstance(String className) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException, ClassNotFoundException, IllegalArgumentException, NoSuchMethodException, SecurityException
newInstanceback to summary
public Object newInstance(String fqcn, ClassLoader classLoader) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException, ClassNotFoundException, IllegalArgumentException, NoSuchMethodException, SecurityException
newInstanceback to summary
public void newInstance(Object o) throws IllegalAccessException, InvocationTargetException, NamingException