
org.jboss.weld.environment.tomcat.ForwardingInstanceManager Maven / Gradle / Ivy
package org.jboss.weld.environment.tomcat;
import java.lang.reflect.InvocationTargetException;
import javax.naming.NamingException;
import org.apache.tomcat.InstanceManager;
public abstract class ForwardingInstanceManager implements InstanceManager {
protected abstract InstanceManager delegate();
public void destroyInstance(Object o) throws IllegalAccessException, InvocationTargetException {
delegate().destroyInstance(o);
}
public void newInstance(Object o) throws IllegalAccessException, InvocationTargetException, NamingException {
delegate().newInstance(o);
}
public Object newInstance(String fqcn, ClassLoader classLoader) throws IllegalAccessException, InvocationTargetException,
NamingException, InstantiationException, ClassNotFoundException, NoSuchMethodException {
return delegate().newInstance(fqcn, classLoader);
}
public Object newInstance(String fqcn) throws IllegalAccessException, InvocationTargetException, NamingException,
InstantiationException, ClassNotFoundException, NoSuchMethodException {
return delegate().newInstance(fqcn);
}
public Object newInstance(Class> clazz) throws IllegalAccessException, InvocationTargetException, NamingException,
InstantiationException, NoSuchMethodException {
return delegate().newInstance(clazz);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy