See Chapter 5. Resource Loading.
For example:
@Inject
@Resource("WEB-INF/beans.xml")
URL beansXml;
or
@Inject
@Resource("WEB-INF/web.xml")
Collection<InputStream> webXmls;
OpenOn should open the corresponding resource which is to be injected.
See http://docs.jboss.org/seam/3/solder/latest/reference/en-US/html/resourceloading.html
- is related to
-
JBIDE-12172 Add support for annotation @Resource of Solder 3.1
- Closed