SimpleInstanceManager (Apache Tomcat 8.5.12 API Documentation)

org.apache.tomcat

## Class SimpleInstanceManager

- java.lang.Object
- - org.apache.tomcat.SimpleInstanceManager

- All Implemented Interfaces:
    InstanceManager

      public class SimpleInstanceManager
      extends Object
      implements InstanceManager

  SimpleInstanceManager Implement the org.apache.tomcat.InstanceManager interface.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SimpleInstanceManager()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `destroyInstance(Object o)`
    `Object` | `newInstance(Class<?> clazz)`
    `void` | `newInstance(Object o)`
    `Object` | `newInstance(String className)`
    `Object` | `newInstance(String fqcn, ClassLoader classLoader)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SimpleInstanceManager

          public SimpleInstanceManager()

  - ### Method Detail

    - #### newInstance

          public Object newInstance(Class<?> clazz)
                             throws IllegalAccessException,
                                    InvocationTargetException,
                                    NamingException,
                                    InstantiationException

      Specified by:
        `newInstance` in interface `InstanceManager`
      Throws:
        `IllegalAccessException`
        `InvocationTargetException`
        `NamingException`
        `InstantiationException`

    - #### newInstance

          public Object newInstance(String className)
                             throws IllegalAccessException,
                                    InvocationTargetException,
                                    NamingException,
                                    InstantiationException,
                                    ClassNotFoundException

      Specified by:
        `newInstance` in interface `InstanceManager`
      Throws:
        `IllegalAccessException`
        `InvocationTargetException`
        `NamingException`
        `InstantiationException`
        `ClassNotFoundException`

    - #### newInstance

          public Object newInstance(String fqcn,
                           ClassLoader classLoader)
                             throws IllegalAccessException,
                                    InvocationTargetException,
                                    NamingException,
                                    InstantiationException,
                                    ClassNotFoundException

      Specified by:
        `newInstance` in interface `InstanceManager`
      Throws:
        `IllegalAccessException`
        `InvocationTargetException`
        `NamingException`
        `InstantiationException`
        `ClassNotFoundException`

    - #### newInstance

          public void newInstance(Object o)
                           throws IllegalAccessException,
                                  InvocationTargetException,
                                  NamingException

      Specified by:
        `newInstance` in interface `InstanceManager`
      Throws:
        `IllegalAccessException`
        `InvocationTargetException`
        `NamingException`

    - #### destroyInstance

          public void destroyInstance(Object o)
                               throws IllegalAccessException,
                                      InvocationTargetException

      Specified by:
        `destroyInstance` in interface `InstanceManager`
      Throws:
        `IllegalAccessException`
        `InvocationTargetException`

Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.