This content has been marked as final.
Show 3 replies
-
1. Re: VFSClassloaderPolicy and VFS3 Mounting
johnbailey Jan 7, 2010 10:36 AM (in response to johnbailey)I was able to get the (b) case working by adding the create and destroy methods to the VFSClassLoaderPolicyModule. This works well. Looking into how to accomplish the same thing from VFSDeploymentClassLoaderPolicyModule, which does not appear to support the create and destroy semantics. Is is safe to rely on the Module:release method? It appears to be called during undeploy of the module. -
2. Re: VFSClassloaderPolicy and VFS3 Mounting
alesj Jan 7, 2010 11:29 AM (in response to johnbailey)Looking into how to accomplish the same thing from VFSDeploymentClassLoaderPolicyModule, which does not appear to support the create and destroy semantics. Is is safe to rely on the Module:release method? It appears to be called during undeploy of the module.
Why would you need to mount/unmount this module?
The roots in this module can only come from current/underlying deployment,
which you already had to properly mount (and will have to properly unmount).
Or am I missing some use case that is outside the normal usage?
-
3. Re: VFSClassloaderPolicy and VFS3 Mounting
johnbailey Jan 7, 2010 11:59 AM (in response to alesj)The roots in this module can only come from current/underlying deployment,
which you already had to properly mount (and will have to properly unmount).
Right. I was looking at a way to get the two paths for creating a VFSClassloaderPolicy to be more similar. I am fine with it being done by the underlying deployments.