Class InstanceManagerBindings
java.lang.Object
org.apache.tomcat.InstanceManagerBindings
Utility class for binding
InstanceManager instances to class loaders.-
Method Summary
Modifier and TypeMethodDescriptionstatic voidbind(ClassLoader classLoader, InstanceManager instanceManager) Bind an InstanceManager to the given class loader.static InstanceManagerget(ClassLoader classLoader) Get the InstanceManager bound to the given class loader.static voidunbind(ClassLoader classLoader) Unbind the InstanceManager associated with the given class loader.
-
Method Details
-
bind
Bind an InstanceManager to the given class loader.- Parameters:
classLoader- the class loaderinstanceManager- the instance manager to bind
-
unbind
Unbind the InstanceManager associated with the given class loader.- Parameters:
classLoader- the class loader
-
get
Get the InstanceManager bound to the given class loader.- Parameters:
classLoader- the class loader- Returns:
- the bound InstanceManager, or
nullif none
-