public class WeldInstanceManager extends AbstractInjector implements org.apache.tomcat.InstanceManager
Modifier | Constructor and Description |
---|---|
protected |
WeldInstanceManager(org.jboss.weld.manager.api.WeldManager manager) |
Modifier and Type | Method and Description |
---|---|
void |
destroyInstance(Object o) |
Object |
newInstance(Class<?> clazz) |
void |
newInstance(Object o) |
Object |
newInstance(String fqcn) |
Object |
newInstance(String fqcn,
ClassLoader classLoader) |
destroy, inject
protected WeldInstanceManager(org.jboss.weld.manager.api.WeldManager manager)
public void destroyInstance(Object o) throws IllegalAccessException, InvocationTargetException
destroyInstance
in interface org.apache.tomcat.InstanceManager
IllegalAccessException
InvocationTargetException
public Object newInstance(String fqcn) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException, ClassNotFoundException
newInstance
in interface org.apache.tomcat.InstanceManager
IllegalAccessException
InvocationTargetException
NamingException
InstantiationException
ClassNotFoundException
public void newInstance(Object o) throws IllegalAccessException, InvocationTargetException, NamingException
newInstance
in interface org.apache.tomcat.InstanceManager
IllegalAccessException
InvocationTargetException
NamingException
public Object newInstance(String fqcn, ClassLoader classLoader) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException, ClassNotFoundException
newInstance
in interface org.apache.tomcat.InstanceManager
IllegalAccessException
InvocationTargetException
NamingException
InstantiationException
ClassNotFoundException
public Object newInstance(Class<?> clazz) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException
newInstance
in interface org.apache.tomcat.InstanceManager
IllegalAccessException
InvocationTargetException
NamingException
InstantiationException
Copyright © 2016. All rights reserved.