Author: pete.muir(a)jboss.org
Date: 2009-03-05 17:36:08 -0500 (Thu, 05 Mar 2009)
New Revision: 1776
Modified:
doc/trunk/reference/en-US/ri-spi.xml
ri/trunk/webbeans-ri-spi/src/main/java/org/jboss/webbeans/manager/api/WebBeansManager.java
ri/trunk/webbeans-ri/src/main/java/org/jboss/webbeans/ManagerImpl.java
Log:
Update API
Modified: doc/trunk/reference/en-US/ri-spi.xml
===================================================================
--- doc/trunk/reference/en-US/ri-spi.xml 2009-03-05 22:26:15 UTC (rev 1775)
+++ doc/trunk/reference/en-US/ri-spi.xml 2009-03-05 22:36:08 UTC (rev 1776)
@@ -343,7 +343,7 @@
<para>
To perform injection on a servlet call
- <literal>WebBeansManager.injectIntoServlet()</literal>. The
manager
+ <literal>WebBeansManager.injectServlet()</literal>. The manager
can be obtained from <literal>Bootstrap.getManager()</literal>.
</para>
Modified: ri/trunk/webbeans-ri/src/main/java/org/jboss/webbeans/ManagerImpl.java
===================================================================
--- ri/trunk/webbeans-ri/src/main/java/org/jboss/webbeans/ManagerImpl.java 2009-03-05
22:26:15 UTC (rev 1775)
+++ ri/trunk/webbeans-ri/src/main/java/org/jboss/webbeans/ManagerImpl.java 2009-03-05
22:36:08 UTC (rev 1776)
@@ -633,7 +633,7 @@
return this.<T>getInstanceToInject(injectionPoint, null);
}
- public void injectIntoServlet(Servlet servlet)
+ public void injectServlet(Servlet servlet)
{
servletInjector.inject(servlet);
}
Modified:
ri/trunk/webbeans-ri-spi/src/main/java/org/jboss/webbeans/manager/api/WebBeansManager.java
===================================================================
---
ri/trunk/webbeans-ri-spi/src/main/java/org/jboss/webbeans/manager/api/WebBeansManager.java 2009-03-05
22:26:15 UTC (rev 1775)
+++
ri/trunk/webbeans-ri-spi/src/main/java/org/jboss/webbeans/manager/api/WebBeansManager.java 2009-03-05
22:36:08 UTC (rev 1776)
@@ -36,6 +36,6 @@
* @param servlet
* the servlet instance to inject
*/
- public void injectIntoServlet(Servlet servlet);
+ public void injectServlet(Servlet servlet);
}
Show replies by date