-
1. Re: Is it to get deployer reference of a deployed application through its class loader?
jaikiran May 6, 2010 9:19 AM (in response to abuantar)I'm not sure whether that's possible with JBossCL (by the way, do you want to add a dependency on JBoss internals?). But you'll have to provide more details on what information you are trying to get and also the version of JBoss you are using.
-
2. Re: Is it to get deployer reference of a deployed application through its class loader?
abuantar May 20, 2010 9:21 AM (in response to jaikiran)I need to get information about an application (name, path , etc...), I have the instance of the classloader which loaded the application, I can't add beans to the application. (eg. BaseClassLoader@a0000{vfszip:/C:/jboss/server/dev/deploy/MyWebApp.war/})
so I wanted to check if is it possible to reach the DeploymentContext of the of the application belonging to this class loader, and I'm trying to reach it thrugh MainDeployer, but in order to get the maindeployer I need the kernel, I don't know how to get the kernel...