public class BeanDeploymentArchiveAgent extends Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
reloadFlag
Flag to check the reload status.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getArchivePath()
Gets the archive path.
|
String |
getBdaId()
Gets the Bean depoyment ID - bdaId.
|
org.jboss.weld.bootstrap.spi.BeanDeploymentArchive |
getDeploymentArchive()
Gets the deployment archive.
|
static Collection<BeanDeploymentArchiveAgent> |
getInstances()
Gets the collection of registered BeanDeploymentArchive(s)
|
static void |
recreateProxy(ClassLoader classLoader,
String archivePath,
Map registeredProxiedBeans,
String beanClassName,
String oldSignatureForProxyCheck)
Recreate proxy classes, Called from BeanClassRefreshCommand.
|
static void |
registerArchive(ClassLoader appClassLoader,
org.jboss.weld.bootstrap.spi.BeanDeploymentArchive beanArchive,
String beanArchiveType)
Register bean archive into BdaAgentRegistry and into WeldPlugin.
|
static void |
reloadBean(ClassLoader classLoader,
String archivePath,
String beanClassName,
String oldSignatureByStrategy,
String strReloadStrategy)
Reload bean (reload bean according strategy, reinject instances).
|
public static boolean reloadFlag
public static void registerArchive(ClassLoader appClassLoader, org.jboss.weld.bootstrap.spi.BeanDeploymentArchive beanArchive, String beanArchiveType)
appClassLoader - the class loader - container or application class loader.beanArchive - the bean archive to be registeredbeanArchiveType - the bean archive typepublic static Collection<BeanDeploymentArchiveAgent> getInstances()
public String getBdaId()
public String getArchivePath()
public org.jboss.weld.bootstrap.spi.BeanDeploymentArchive getDeploymentArchive()
public static void reloadBean(ClassLoader classLoader, String archivePath, String beanClassName, String oldSignatureByStrategy, String strReloadStrategy) throws IOException
classLoader - archivePath - beanClassName - IOException - error working with classDefinitionpublic static void recreateProxy(ClassLoader classLoader, String archivePath, Map registeredProxiedBeans, String beanClassName, String oldSignatureForProxyCheck) throws IOException
classLoader - the class loaderarchivePath - the bean archive pathregisteredProxiedBeans - the registered proxied beansbeanClassName - the bean class nameoldSignatureForProxyCheck - the old signature for proxy checkIOException - error working with classDefinitionCopyright © 2018. All rights reserved.