[jboss-dev-forums] [Design of POJO Server] - JSR-299 servlet injection
pete.muir@jboss.org
do-not-reply at jboss.com
Thu Mar 5 17:34:47 EST 2009
Section 5.12.3 of the JSR-299 specification requires that JSR-299 DI occurs for Servlets. As there are no specified hooks in Servlet to perform a post construct lifecycle callback, I have exposed an API in Web Beans which allows the server to request a servlet is injected.
This API is
https://svn.jboss.org/repos/webbeans/ri/trunk/webbeans-ri-spi/src/main/java/org/jboss/webbeans/manager/api/WebBeansManager.java
and is documented in the Web Beans documentation
http://docs.jboss.org/webbeans/reference/snapshot/en-US/html/ri-spi.html#d0e3691
We now need to get JBoss AS to perform servlet injection, and I would like guidance on the best way to hook this in.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4215494#4215494
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4215494
More information about the jboss-dev-forums
mailing list