Package org.apache.tomcat
Class InstanceManagerBindings
- java.lang.Object
-
- org.apache.tomcat.InstanceManagerBindings
-
public final class InstanceManagerBindings extends java.lang.ObjectUtility class for bindingInstanceManagerinstances to class loaders.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidbind(java.lang.ClassLoader classLoader, InstanceManager instanceManager)Bind an InstanceManager to the given class loader.static InstanceManagerget(java.lang.ClassLoader classLoader)Get the InstanceManager bound to the given class loader.static voidunbind(java.lang.ClassLoader classLoader)Unbind the InstanceManager associated with the given class loader.
-
-
-
Method Detail
-
bind
public static void bind(java.lang.ClassLoader classLoader, InstanceManager instanceManager)Bind an InstanceManager to the given class loader.- Parameters:
classLoader- the class loaderinstanceManager- the instance manager to bind
-
unbind
public static void unbind(java.lang.ClassLoader classLoader)
Unbind the InstanceManager associated with the given class loader.- Parameters:
classLoader- the class loader
-
get
public static InstanceManager get(java.lang.ClassLoader classLoader)
Get the InstanceManager bound to the given class loader.- Parameters:
classLoader- the class loader- Returns:
- the bound InstanceManager, or
nullif none
-
-