Class BdaAgentRegistry
- java.lang.Object
-
- org.hotswap.agent.plugin.weld.command.BdaAgentRegistry
-
public class BdaAgentRegistry extends Object
BdaAgentRegistry - maps archivePath to BeanClassRefreshAgent. This class is separated from BeanClassRefreshAgent to avoid "class not found exception" when map is accessed from ClassPathBeanRefreshCommand.- Author:
- Vladimir Dvorak
-
-
Constructor Summary
Constructors Constructor Description BdaAgentRegistry()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleancontains(String archivePath)static BeanClassRefreshAgentget(String archivePath)static StringgetArchiveByClassName(String className)Iterate over agents and find the one containing the class by namestatic Map<String,BeanClassRefreshAgent>getInstances()static voidput(String archivePath, BeanClassRefreshAgent bdaAgent)static Collection<BeanClassRefreshAgent>values()
-
-
-
Method Detail
-
getInstances
public static Map<String,BeanClassRefreshAgent> getInstances()
-
contains
public static boolean contains(String archivePath)
-
put
public static void put(String archivePath, BeanClassRefreshAgent bdaAgent)
-
get
public static BeanClassRefreshAgent get(String archivePath)
-
values
public static Collection<BeanClassRefreshAgent> values()
-
-