
org.jboss.weld.environment.tomcat.WeldInstanceManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of weld-servlet-shaded Show documentation
Show all versions of weld-servlet-shaded Show documentation
This jar bundles all the bits of Weld and CDI required for running in a Servlet container.
package org.jboss.weld.environment.tomcat;
import java.lang.reflect.InvocationTargetException;
import javax.naming.NamingException;
import org.apache.tomcat.InstanceManager;
import org.jboss.weld.environment.servlet.inject.AbstractInjector;
import org.jboss.weld.manager.api.WeldManager;
public class WeldInstanceManager extends AbstractInjector implements InstanceManager {
protected WeldInstanceManager(WeldManager manager) {
super(manager);
}
public void destroyInstance(Object o) throws IllegalAccessException, InvocationTargetException {
}
public Object newInstance(String fqcn) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException, ClassNotFoundException {
return null;
}
public void newInstance(Object o) throws IllegalAccessException, InvocationTargetException, NamingException {
inject(o);
}
public Object newInstance(String fqcn, ClassLoader classLoader) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException, ClassNotFoundException {
return null;
}
public Object newInstance(Class> clazz) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException {
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy