Package jetbrains.buildServer.plugins
Class PluginSupportUtil
- java.lang.Object
-
- jetbrains.buildServer.plugins.PluginSupportUtil
-
public class PluginSupportUtil extends Object
- Author:
- Pavel.Sher Date: 03.04.2009
-
-
Constructor Summary
Constructors Constructor Description PluginSupportUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidswitchClassLoader(Class clazz, Runnable runnable)Executes runnable with context classloader set to classloader used to load specified class.
-
-
-
Method Detail
-
switchClassLoader
public static void switchClassLoader(@NotNull Class clazz, @NotNull Runnable runnable)Executes runnable with context classloader set to classloader used to load specified class. This is useful if code in runnable tries to find a class of a plugin by name.- Parameters:
runnable- runnable to execute
-
-