Class BdaAgentRegistry
- java.lang.Object
-
- org.hotswap.agent.plugin.weld.command.BdaAgentRegistry
-
public class BdaAgentRegistry extends java.lang.ObjectBdaAgentRegistry - 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(java.lang.String archivePath)static BeanClassRefreshAgentget(java.lang.String archivePath)static java.lang.StringgetArchiveByClassName(java.lang.String className)Iterate over agents and find the one containing the class by namestatic java.util.Map<java.lang.String,BeanClassRefreshAgent>getInstances()static voidput(java.lang.String archivePath, BeanClassRefreshAgent bdaAgent)static java.util.Collection<BeanClassRefreshAgent>values()
-
-
-
Method Detail
-
getInstances
public static java.util.Map<java.lang.String,BeanClassRefreshAgent> getInstances()
-
contains
public static boolean contains(java.lang.String archivePath)
-
put
public static void put(java.lang.String archivePath, BeanClassRefreshAgent bdaAgent)
-
get
public static BeanClassRefreshAgent get(java.lang.String archivePath)
-
values
public static java.util.Collection<BeanClassRefreshAgent> values()
-
getArchiveByClassName
public static java.lang.String getArchiveByClassName(java.lang.String className)
Iterate over agents and find the one containing the class by name- Parameters:
className-- Returns:
-
-