@Plugin(name="Owb", description="OpenWebBeans framework(http://openwebbeans.apache.org/). Reload, reinject bean, redefine proxy class after bean class definition/redefinition.", testedVersions="1.7.0-2.0.13", expectedVersions="All between 1.7.0-2.0.13", supportClass={BeansDeployerTransformer.class,CdiContextsTransformer.class,ProxyFactoryTransformer.class}) public class OwbPlugin extends Object
| Constructor and Description |
|---|
OwbPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
classReload(ClassLoader classLoader,
CtClass ctClass,
Class<?> original)
Called on class redefinition.
|
void |
init()
Plugin initialization, called from archive registration,
|
void |
registerBeansXmls(Set bdaLocations)
Register BeanArchive's paths to watcher.
|
URL |
resourceNameToURL(String resource) |
public void init()
public void registerBeansXmls(Set bdaLocations)
bdaLocations - the Set of URLs of archive locations@OnClassLoadEvent(classNameRegexp=".*", events=REDEFINE) public void classReload(ClassLoader classLoader, CtClass ctClass, Class<?> original)
classLoader - the class loader in which class is redefined (Archive class loader)ctClass - the ct classoriginal - the originalCopyright © 2020. All rights reserved.