Class 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
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.tomcat.InstanceManager

        backgroundProcess
    • 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 interface org.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 interface org.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 interface org.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 interface org.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 interface org.apache.tomcat.InstanceManager
        Throws:
        java.lang.IllegalAccessException
        java.lang.reflect.InvocationTargetException