Package net.officefloor.servlet.tomcat
Class OfficeFloorInstanceManager
- java.lang.Object
-
- net.officefloor.servlet.tomcat.OfficeFloorInstanceManager
-
- All Implemented Interfaces:
org.apache.tomcat.InstanceManager
public class OfficeFloorInstanceManager extends java.lang.Object implements org.apache.tomcat.InstanceManager
OfficeFloor
InstanceManager
.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description OfficeFloorInstanceManager(InjectContextFactory injectContextFactory, java.lang.ClassLoader classLoader)
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroyInstance(java.lang.Object o)
java.lang.Object
newInstance(java.lang.Class<?> clazz)
void
newInstance(java.lang.Object o)
java.lang.Object
newInstance(java.lang.String className)
java.lang.Object
newInstance(java.lang.String fqcn, java.lang.ClassLoader classLoader)
-
-
-
Constructor Detail
-
OfficeFloorInstanceManager
public OfficeFloorInstanceManager(InjectContextFactory injectContextFactory, java.lang.ClassLoader classLoader)
Instantiate.- Parameters:
injectContextFactory
-InjectContextFactory
.classLoader
-ClassLoader
.
-
-
Method Detail
-
newInstance
public java.lang.Object newInstance(java.lang.String fqcn, java.lang.ClassLoader classLoader) throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, javax.naming.NamingException, java.lang.InstantiationException, java.lang.ClassNotFoundException, java.lang.IllegalArgumentException, java.lang.NoSuchMethodException, java.lang.SecurityException
- Specified by:
newInstance
in interfaceorg.apache.tomcat.InstanceManager
- Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
javax.naming.NamingException
java.lang.InstantiationException
java.lang.ClassNotFoundException
java.lang.IllegalArgumentException
java.lang.NoSuchMethodException
java.lang.SecurityException
-
newInstance
public java.lang.Object newInstance(java.lang.String className) throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, javax.naming.NamingException, java.lang.InstantiationException, java.lang.ClassNotFoundException, java.lang.IllegalArgumentException, java.lang.NoSuchMethodException, java.lang.SecurityException
- Specified by:
newInstance
in interfaceorg.apache.tomcat.InstanceManager
- Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
javax.naming.NamingException
java.lang.InstantiationException
java.lang.ClassNotFoundException
java.lang.IllegalArgumentException
java.lang.NoSuchMethodException
java.lang.SecurityException
-
newInstance
public java.lang.Object newInstance(java.lang.Class<?> clazz) throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, javax.naming.NamingException, java.lang.InstantiationException, java.lang.IllegalArgumentException, java.lang.NoSuchMethodException, java.lang.SecurityException
- Specified by:
newInstance
in interfaceorg.apache.tomcat.InstanceManager
- Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
javax.naming.NamingException
java.lang.InstantiationException
java.lang.IllegalArgumentException
java.lang.NoSuchMethodException
java.lang.SecurityException
-
newInstance
public void newInstance(java.lang.Object o) throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, javax.naming.NamingException
- Specified by:
newInstance
in interfaceorg.apache.tomcat.InstanceManager
- Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
javax.naming.NamingException
-
destroyInstance
public void destroyInstance(java.lang.Object o) throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
- Specified by:
destroyInstance
in interfaceorg.apache.tomcat.InstanceManager
- Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
-
-