Class InstanceManagerBindings

java.lang.Object
org.apache.tomcat.InstanceManagerBindings

public final class InstanceManagerBindings extends Object
Utility class for binding InstanceManager instances to class loaders.
  • Method Details

    • bind

      public static void bind(ClassLoader classLoader, InstanceManager instanceManager)
      Bind an InstanceManager to the given class loader.
      Parameters:
      classLoader - the class loader
      instanceManager - the instance manager to bind
    • unbind

      public static void unbind(ClassLoader classLoader)
      Unbind the InstanceManager associated with the given class loader.
      Parameters:
      classLoader - the class loader
    • get

      public static InstanceManager get(ClassLoader classLoader)
      Get the InstanceManager bound to the given class loader.
      Parameters:
      classLoader - the class loader
      Returns:
      the bound InstanceManager, or null if none