[jboss-user] [Microcontainer] - Re: How to access files in a sar deployed via VFS

2008-06-28 Thread [EMAIL PROTECTED]
This has nothing to do with VFS. Assuming you have an MBean with configuration files at the root of the .sar, you should be able to get to them with from the MBean class using: |// locate xyz.sar/file.cfg | InputStream is = this.getClass().getResourceAsStream(file.cfg); | I suppose

[jboss-user] [Microcontainer] - Re: How to access files in a sar deployed via VFS

2008-06-27 Thread alesj
I would need more info for this. Post some code or explain better what exactly you need. But it should be pretty straight fwd - VFS has a very simple (but powerful) API. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161319#4161319 Reply to the post :