[jboss-cvs] JBossAS SVN: r94395 - in projects/webbeans-ri-int/trunk: ejb/src/main/java/org/jboss/webbeans/integration/ejb and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Oct 6 00:07:28 EDT 2009
Author: marius.bogoevici
Date: 2009-10-06 00:07:28 -0400 (Tue, 06 Oct 2009)
New Revision: 94395
Modified:
projects/webbeans-ri-int/trunk/deployer/src/test/java/org/jboss/test/deployers/support/MockEjbServices.java
projects/webbeans-ri-int/trunk/ejb/src/main/java/org/jboss/webbeans/integration/ejb/JBossEjbServices.java
Log:
Added registerInterceptors() to EjbServices. No implementation provided for JBossEjbServices.
Modified: projects/webbeans-ri-int/trunk/deployer/src/test/java/org/jboss/test/deployers/support/MockEjbServices.java
===================================================================
--- projects/webbeans-ri-int/trunk/deployer/src/test/java/org/jboss/test/deployers/support/MockEjbServices.java 2009-10-06 03:15:47 UTC (rev 94394)
+++ projects/webbeans-ri-int/trunk/deployer/src/test/java/org/jboss/test/deployers/support/MockEjbServices.java 2009-10-06 04:07:28 UTC (rev 94395)
@@ -29,6 +29,7 @@
import org.jboss.webbeans.ejb.api.SessionObjectReference;
import org.jboss.webbeans.ejb.spi.EjbDescriptor;
import org.jboss.webbeans.ejb.spi.EjbServices;
+import org.jboss.webbeans.ejb.spi.InterceptorBindings;
/**
* @author <a href="mailto:ales.justin at jboss.org">Ales Justin</a>
@@ -63,6 +64,11 @@
return null;
}
+ public void registerInterceptors(EjbDescriptor<?> ejbDescriptor, InterceptorBindings interceptorBindings)
+ {
+ // do nothing
+ }
+
public Iterable<EjbDescriptor<?>> getEjbs()
{
return Collections.emptySet();
Modified: projects/webbeans-ri-int/trunk/ejb/src/main/java/org/jboss/webbeans/integration/ejb/JBossEjbServices.java
===================================================================
--- projects/webbeans-ri-int/trunk/ejb/src/main/java/org/jboss/webbeans/integration/ejb/JBossEjbServices.java 2009-10-06 03:15:47 UTC (rev 94394)
+++ projects/webbeans-ri-int/trunk/ejb/src/main/java/org/jboss/webbeans/integration/ejb/JBossEjbServices.java 2009-10-06 04:07:28 UTC (rev 94395)
@@ -21,6 +21,7 @@
import org.jboss.webbeans.ejb.api.SessionObjectReference;
import org.jboss.webbeans.ejb.spi.EjbDescriptor;
import org.jboss.webbeans.ejb.spi.EjbServices;
+import org.jboss.webbeans.ejb.spi.InterceptorBindings;
import org.jboss.webbeans.injection.spi.EjbInjectionServices;
import org.jboss.webbeans.integration.util.AbstractJBossServices;
import org.jboss.webbeans.integration.vdf.DeploymentUnitAware;
@@ -30,6 +31,7 @@
*
* @author Pete Muir
* @author ales.justin at jboss.org
+ * @author Marius Bogoevici
*/
public class JBossEjbServices extends AbstractJBossServices implements EjbServices, EjbInjectionServices, DeploymentUnitAware
{
@@ -110,7 +112,13 @@
throw new RuntimeException("Error retreiving EJB from JNDI " + ejbDescriptor, e);
}
}
-
+
+ public void registerInterceptors(EjbDescriptor<?> ejbDescriptor, InterceptorBindings interceptorBindings)
+ {
+ // TODO register interceptors for given EJB descriptor
+ throw new UnsupportedOperationException("Not implemented");
+ }
+
public Object resolveRemoteEjb(String jndiName, String mappedName, String ejbLink)
{
if (mappedName != null)
More information about the jboss-cvs-commits
mailing list