[jboss-cvs] JBossAS SVN: r94114 - projects/webbeans-ri-int/trunk/deployer/src/main/java/org/jboss/webbeans/integration/deployer/env.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Sep 29 14:31:47 EDT 2009
Author: pete.muir at jboss.org
Date: 2009-09-29 14:31:47 -0400 (Tue, 29 Sep 2009)
New Revision: 94114
Modified:
projects/webbeans-ri-int/trunk/deployer/src/main/java/org/jboss/webbeans/integration/deployer/env/FlatDeployment.java
projects/webbeans-ri-int/trunk/deployer/src/main/java/org/jboss/webbeans/integration/deployer/env/JBossBeanDeploymentArchive.java
Log:
WBRI-366, support for clustering
Modified: projects/webbeans-ri-int/trunk/deployer/src/main/java/org/jboss/webbeans/integration/deployer/env/FlatDeployment.java
===================================================================
--- projects/webbeans-ri-int/trunk/deployer/src/main/java/org/jboss/webbeans/integration/deployer/env/FlatDeployment.java 2009-09-29 18:29:43 UTC (rev 94113)
+++ projects/webbeans-ri-int/trunk/deployer/src/main/java/org/jboss/webbeans/integration/deployer/env/FlatDeployment.java 2009-09-29 18:31:47 UTC (rev 94114)
@@ -43,7 +43,7 @@
public FlatDeployment(WebBeanDiscoveryEnvironment environment, Collection<EjbDescriptor<?>> ejbDescriptors)
{
- this.beanDeploymentArchive = new JBossBeanDeploymentArchive(environment, ejbDescriptors);
+ this.beanDeploymentArchive = new JBossBeanDeploymentArchive("flat" ,environment, ejbDescriptors);
this.beanDeploymentArchives = Collections.singletonList(beanDeploymentArchive);
this.services = new SimpleServiceRegistry();
}
Modified: projects/webbeans-ri-int/trunk/deployer/src/main/java/org/jboss/webbeans/integration/deployer/env/JBossBeanDeploymentArchive.java
===================================================================
--- projects/webbeans-ri-int/trunk/deployer/src/main/java/org/jboss/webbeans/integration/deployer/env/JBossBeanDeploymentArchive.java 2009-09-29 18:29:43 UTC (rev 94113)
+++ projects/webbeans-ri-int/trunk/deployer/src/main/java/org/jboss/webbeans/integration/deployer/env/JBossBeanDeploymentArchive.java 2009-09-29 18:31:47 UTC (rev 94114)
@@ -16,12 +16,14 @@
private final WebBeanDiscoveryEnvironment environment;
private final Collection<EjbDescriptor<?>> ejbDescriptors;
private final ServiceRegistry services;
+ private final String id;
- public JBossBeanDeploymentArchive(WebBeanDiscoveryEnvironment environment, Collection<EjbDescriptor<?>> ejbDescriptors)
+ public JBossBeanDeploymentArchive(String id, WebBeanDiscoveryEnvironment environment, Collection<EjbDescriptor<?>> ejbDescriptors)
{
this.environment = environment;
this.ejbDescriptors = ejbDescriptors;
this.services = new SimpleServiceRegistry();
+ this.id = id;
}
public Collection<Class<?>> getBeanClasses()
@@ -49,4 +51,9 @@
return services;
}
+ public String getId()
+ {
+ return id;
+ }
+
}
\ No newline at end of file
More information about the jboss-cvs-commits
mailing list