Class RequestListenerUtil
java.lang.Object
org.zeroturnaround.javarebel.integration.util.RequestListenerUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.zeroturnaround.javarebel.RequestListenerbindClassLoader(org.zeroturnaround.javarebel.RequestListener listener, ClassLoader cl) The target listener will be weakly referencedstatic org.zeroturnaround.javarebel.RequestListenerbindContextClassLoader(org.zeroturnaround.javarebel.RequestListener listener) The target listener will be weakly referenced
-
Constructor Details
-
RequestListenerUtil
public RequestListenerUtil()
-
-
Method Details
-
bindContextClassLoader
public static org.zeroturnaround.javarebel.RequestListener bindContextClassLoader(org.zeroturnaround.javarebel.RequestListener listener) The target listener will be weakly referenced- Parameters:
listener-- Returns:
- listener that processes events with current context class loader
-
bindClassLoader
public static org.zeroturnaround.javarebel.RequestListener bindClassLoader(org.zeroturnaround.javarebel.RequestListener listener, ClassLoader cl) The target listener will be weakly referenced- Parameters:
listener-cl-- Returns:
- listener that processes events with given class loader context class loader
-