[jboss-user] [JBoss Microcontainer Development] New message: "Re: Trivial vfs-3.0.x manifest access fails"
David Lloyd
do-not-reply at jboss.com
Thu Mar 4 10:23:28 EST 2010
User development,
A new message was posted in the thread "Trivial vfs-3.0.x manifest access fails":
http://community.jboss.org/message/529956#529956
Author : David Lloyd
Profile : http://community.jboss.org/people/david.lloyd@jboss.com
Message:
--------------------------------------------------------------
But, *don't* use automounter unless you have no other choice. It's not intended as a consumable API; it's only there until we can work out a good way to get mounting into the deployment lifecycle/dependency graph.
In fact maybe I can convince John to deprecate it right off...
I think it'd be better if we have a deployed MC bean which represents the mount of the archive, and then everything using that mount will have a dependency on that.
In the standalone case (e.g. testing) you can just mount the archive and unmount it again in a finally block.
Note that the normal mount API is well-documented.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/529956#529956
More information about the jboss-user
mailing list