diff --git a/deployment/src/main/java/io/quarkiverse/omnifaces/deployment/OmnifacesProcessor.java b/deployment/src/main/java/io/quarkiverse/omnifaces/deployment/OmnifacesProcessor.java index 9f8214c..e419889 100644 --- a/deployment/src/main/java/io/quarkiverse/omnifaces/deployment/OmnifacesProcessor.java +++ b/deployment/src/main/java/io/quarkiverse/omnifaces/deployment/OmnifacesProcessor.java @@ -28,6 +28,8 @@ import org.omnifaces.cdi.ViewScoped; import org.omnifaces.cdi.converter.ConverterManager; import org.omnifaces.cdi.eager.EagerBeansRepository; +import org.omnifaces.cdi.push.SocketChannelManager; +import org.omnifaces.cdi.push.SocketPushContextProducer; import org.omnifaces.cdi.validator.ValidatorManager; import org.omnifaces.cdi.viewscope.ViewScopeManager; import org.omnifaces.resourcehandler.CombinedResourceHandler; @@ -80,7 +82,10 @@ class OmnifacesProcessor { EagerBeansRepository.class, ValidatorManager.class, ViewScopeManager.class, - ConverterManager.class + ConverterManager.class, + SocketChannelManager.class, + SocketPushContextProducer.class, + SocketChannelManager.ViewScope.class }; private static final String[] BEAN_DEFINING_ANNOTATION_CLASSES = { diff --git a/integration-tests/src/main/resources/META-INF/resources/socket.xhtml b/integration-tests/src/main/resources/META-INF/resources/socket.xhtml index 23f3b0c..80493f1 100644 --- a/integration-tests/src/main/resources/META-INF/resources/socket.xhtml +++ b/integration-tests/src/main/resources/META-INF/resources/socket.xhtml @@ -28,6 +28,8 @@ Push - Test + +