Package net.officefloor.servlet.tomcat
Class OfficeFloorInstanceManager
java.lang.Object
net.officefloor.servlet.tomcat.OfficeFloorInstanceManager
- All Implemented Interfaces:
org.apache.tomcat.InstanceManager
OfficeFloor InstanceManager.- Author:
- Daniel Sagenschneider
-
Constructor Summary
ConstructorsConstructorDescriptionOfficeFloorInstanceManager(InjectContextFactory injectContextFactory, ClassLoader classLoader) Instantiate. -
Method Summary
Modifier and TypeMethodDescriptionvoidnewInstance(Class<?> clazz) voidnewInstance(String className) newInstance(String fqcn, ClassLoader classLoader) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.tomcat.InstanceManager
backgroundProcess
-
Constructor Details
-
OfficeFloorInstanceManager
public OfficeFloorInstanceManager(InjectContextFactory injectContextFactory, ClassLoader classLoader) Instantiate.- Parameters:
injectContextFactory-InjectContextFactory.classLoader-ClassLoader.
-
-
Method Details
-
newInstance
public Object newInstance(String fqcn, ClassLoader classLoader) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException, ClassNotFoundException, IllegalArgumentException, NoSuchMethodException, SecurityException - Specified by:
newInstancein interfaceorg.apache.tomcat.InstanceManager- Throws:
IllegalAccessExceptionInvocationTargetExceptionNamingExceptionInstantiationExceptionClassNotFoundExceptionIllegalArgumentExceptionNoSuchMethodExceptionSecurityException
-
newInstance
public Object newInstance(String className) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException, ClassNotFoundException, IllegalArgumentException, NoSuchMethodException, SecurityException - Specified by:
newInstancein interfaceorg.apache.tomcat.InstanceManager- Throws:
IllegalAccessExceptionInvocationTargetExceptionNamingExceptionInstantiationExceptionClassNotFoundExceptionIllegalArgumentExceptionNoSuchMethodExceptionSecurityException
-
newInstance
public Object newInstance(Class<?> clazz) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException, IllegalArgumentException, NoSuchMethodException, SecurityException - Specified by:
newInstancein interfaceorg.apache.tomcat.InstanceManager- Throws:
IllegalAccessExceptionInvocationTargetExceptionNamingExceptionInstantiationExceptionIllegalArgumentExceptionNoSuchMethodExceptionSecurityException
-
newInstance
public void newInstance(Object o) throws IllegalAccessException, InvocationTargetException, NamingException - Specified by:
newInstancein interfaceorg.apache.tomcat.InstanceManager- Throws:
IllegalAccessExceptionInvocationTargetExceptionNamingException
-
destroyInstance
- Specified by:
destroyInstancein interfaceorg.apache.tomcat.InstanceManager- Throws:
IllegalAccessExceptionInvocationTargetException
-