Author: pete.muir(a)jboss.org
Date: 2009-08-27 19:20:05 -0400 (Thu, 27 Aug 2009)
New Revision: 3614
Modified:
ri/trunk/spi/src/main/java/org/jboss/webbeans/ejb/spi/EjbDescriptor.java
ri/trunk/spi/src/main/java/org/jboss/webbeans/manager/api/WebBeansManager.java
Log:
javadoc
Modified: ri/trunk/spi/src/main/java/org/jboss/webbeans/ejb/spi/EjbDescriptor.java
===================================================================
--- ri/trunk/spi/src/main/java/org/jboss/webbeans/ejb/spi/EjbDescriptor.java 2009-08-27
23:09:32 UTC (rev 3613)
+++ ri/trunk/spi/src/main/java/org/jboss/webbeans/ejb/spi/EjbDescriptor.java 2009-08-27
23:20:05 UTC (rev 3614)
@@ -45,6 +45,11 @@
*/
public Collection<BusinessInterfaceDescriptor<?>>
getLocalBusinessInterfaces();
+ /**
+ * Get the EJB name
+ *
+ * @return
+ */
public String getEjbName();
/**
Modified: ri/trunk/spi/src/main/java/org/jboss/webbeans/manager/api/WebBeansManager.java
===================================================================
---
ri/trunk/spi/src/main/java/org/jboss/webbeans/manager/api/WebBeansManager.java 2009-08-27
23:09:32 UTC (rev 3613)
+++
ri/trunk/spi/src/main/java/org/jboss/webbeans/manager/api/WebBeansManager.java 2009-08-27
23:20:05 UTC (rev 3614)
@@ -73,8 +73,23 @@
*/
public <T> InjectionTarget<T> createInjectionTarget(EjbDescriptor<T>
descriptor);
+ /**
+ * Get the Bean object for the given EJB, or null if Web Beans was not given
+ * this descriptor in the deployment.
+ *
+ * @param <T>
+ * @param descriptor
+ * @return
+ */
public <T> Bean<T> getBean(EjbDescriptor<T> descriptor);
- public <T> EjbDescriptor<T> getEjbDescriptor(String beanName);
+ /**
+ * Get the EjbDescriptor for the given ejb name
+ *
+ * @param <T>
+ * @param ejbName
+ * @return
+ */
+ public <T> EjbDescriptor<T> getEjbDescriptor(String ejbName);
}
Show replies by date