@Name("report")
| public class Report {
|
| private String fileName;
| // getter and setter
|
| @Unwrap
| public InputStream unwrap {
| return Resources.getResourceAsStream(fileName);
| }
| }
Configure through components.xml/component.properties
You could easily extend for a list of files.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030506#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...