Class BeanClassRefreshAgent
- java.lang.Object
-
- org.hotswap.agent.plugin.owb.command.BeanClassRefreshAgent
-
public class BeanClassRefreshAgent extends Object
Handle definition and redefinition of bean classes in BeanManager. If the bean class already exists than, according reloading policy, either bean instance re-injection or bean context reloading is processed.- Author:
- Vladimir Dvorak
-
-
Constructor Summary
Constructors Constructor Description BeanClassRefreshAgent()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidreloadBean(ClassLoader appClassLoader, String beanClassName, Map<String,String> oldFullSignatures, Map<String,String> oldSignatures, String strReloadStrategy, URL beanArchiveUrl)Reload bean in existing bean manager.
-
-
-
Method Detail
-
reloadBean
public static void reloadBean(ClassLoader appClassLoader, String beanClassName, Map<String,String> oldFullSignatures, Map<String,String> oldSignatures, String strReloadStrategy, URL beanArchiveUrl) throws IOException
Reload bean in existing bean manager. Called by a reflection command from BeanRefreshCommand transformer.- Parameters:
appClassLoader- the application class loaderbeanClassName- the bean class nameoldFullSignatures- the old full signaturesoldSignatures- the map of class name to old signaturestrReloadStrategy- the bean reload strategybeanArchiveUrl- the bean archive url- Throws:
IOException- error working with classDefinition
-
-