You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by nt...@apache.org on 2022/07/11 16:03:24 UTC

[cayenne] 02/02: CAY-2750 Deprecate web module

This is an automated email from the ASF dual-hosted git repository.

ntimofeev pushed a commit to branch STABLE-4.2
in repository https://gitbox.apache.org/repos/asf/cayenne.git

commit fe450a831f98314e1b5402e136bb89af02fbfe09
Author: Nikita Timofeev <st...@gmail.com>
AuthorDate: Thu Jul 7 18:10:41 2022 +0300

    CAY-2750 Deprecate web module
---
 .../main/java/org/apache/cayenne/configuration/web/WebModule.java   | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/cayenne-web/src/main/java/org/apache/cayenne/configuration/web/WebModule.java b/cayenne-web/src/main/java/org/apache/cayenne/configuration/web/WebModule.java
index 577feb18e..a115536e7 100644
--- a/cayenne-web/src/main/java/org/apache/cayenne/configuration/web/WebModule.java
+++ b/cayenne-web/src/main/java/org/apache/cayenne/configuration/web/WebModule.java
@@ -20,13 +20,19 @@ package org.apache.cayenne.configuration.web;
 
 import org.apache.cayenne.di.Binder;
 import org.apache.cayenne.di.Module;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 /**
  * @since 3.1
  */
 public class WebModule implements Module {
 
+    private static final Logger logger = LoggerFactory.getLogger(WebModule.class);
+
     public void configure(Binder binder) {
+        logger.warn("Since 4.2 cayenne-web module was deprecated.");
+
         binder
                 .bind(RequestHandler.class)
                 .to(SessionContextRequestHandler.class)