Author: pete.muir(a)jboss.org
Date: 2009-01-06 13:49:11 -0500 (Tue, 06 Jan 2009)
New Revision: 791
Modified:
ri/trunk/webbeans-ri-spi/src/main/java/org/jboss/webbeans/ejb/spi/EjbResolver.java
Log:
minor rationalization
Modified:
ri/trunk/webbeans-ri-spi/src/main/java/org/jboss/webbeans/ejb/spi/EjbResolver.java
===================================================================
---
ri/trunk/webbeans-ri-spi/src/main/java/org/jboss/webbeans/ejb/spi/EjbResolver.java 2009-01-06
18:23:50 UTC (rev 790)
+++
ri/trunk/webbeans-ri-spi/src/main/java/org/jboss/webbeans/ejb/spi/EjbResolver.java 2009-01-06
18:49:11 UTC (rev 791)
@@ -36,4 +36,14 @@
*/
public Object resolveEjb(String name, String beanName, Class<?> beanInterface,
String mappedName);
+ /**
+ * Resolve the persistence unit for the given peristence unit name
+ *
+ * @param persistenceUnitName
+ * the name of the persistence unit to resolve, if null, the
+ * default persistence unit for the application should be resolved
+ * @return the resolved persistence unit
+ */
+ public Object resolvePersistenceUnit(String persistenceUnitName);
+
}
Show replies by date