JBoss development,
A new message was posted in the thread "Trivial vfs-3.0.x manifest access
fails":
http://community.jboss.org/message/529852#529852
Author : Ales Justin
Profile :
http://community.jboss.org/people/alesj
Message:
--------------------------------------------------------------
I added this
MountOwner owner = *new* VirtualFileOwner(root);
Automounter.mount(owner, root);
which seems to work.
Is this right?
Is there some cleanup needed?
No need for MountOwner, Automounter::mount takes
Object, and wraps it -- same as you did explicitly.
Yes, you need to preform explicit cleanup as well -- Automounter::mount returns Closeable
cleanup handle.
--------------------------------------------------------------
To reply to this message visit the message page:
http://community.jboss.org/message/529852#529852