Skip to content

Commit 2471951

Browse files
committed
split up services between filtered
1 parent 8244abc commit 2471951

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

appserver/web/weld-integration/src/main/java/org/glassfish/weld/BeanDeploymentArchiveImpl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ void initializeFromOriginal() {
217217
this.weldBootstrap = context.getTransientAppMetaData(WELD_BOOTSTRAP, WeldBootstrap.class);
218218
this.moduleClasses = getOriginal().moduleClasses;
219219
this.beanClasses = getOriginal().beanClasses;
220-
this.simpleServiceRegistry = getOriginal().simpleServiceRegistry;
220+
getServices().addAll(getOriginal().getServices().entrySet());
221221
this.moduleClassLoaderForBDA = getOriginal().moduleClassLoaderForBDA;
222222
this.ejbDescImpls = new LinkedHashSet<>(getOriginal().ejbDescImpls);
223223
if (this.itMap == null) {

appserver/web/weld-integration/src/main/java/org/glassfish/weld/DeploymentImpl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ public DeploymentImpl(ReadableArchive archive,
190190

191191
this.context = currentDeploymentContext.get();
192192
this.archiveFactory = currentDeployment.get().archiveFactory;
193-
this.simpleServiceRegistry = currentDeployment.get().simpleServiceRegistry;
193+
getServices().addAll(currentDeployment.get().getServices().entrySet());
194194
this.injectionManager = currentDeployment.get().injectionManager;
195195
this.logger = currentDeployment.get().logger;
196196
this.deployedEjbs = currentDeployment.get().deployedEjbs;

0 commit comments

Comments
 (0)