You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by bt...@apache.org on 2019/09/23 09:16:55 UTC

[james-project] 11/16: JAMES-2886 Configuration examples for custom Guice injections

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

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit 13176731d4d8c6d41f67308c8904100ccd930dfc
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Sat Sep 21 08:09:44 2019 +0700

    JAMES-2886 Configuration examples for custom Guice injections
---
 .../cassandra-ldap/destination/conf/extensions.properties      | 10 ++++++++++
 .../destination/conf/extensions.properties                     | 10 ++++++++++
 .../cassandra-rabbitmq/destination/conf/extensions.properties  | 10 ++++++++++
 .../run/guice/cassandra/destination/conf/extensions.properties | 10 ++++++++++
 .../run/guice/jpa-smtp/destination/conf/extensions.properties  | 10 ++++++++++
 .../run/guice/jpa/destination/conf/extensions.properties       | 10 ++++++++++
 .../run/guice/memory/destination/conf/extensions.properties    | 10 ++++++++++
 7 files changed, 70 insertions(+)

diff --git a/dockerfiles/run/guice/cassandra-ldap/destination/conf/extensions.properties b/dockerfiles/run/guice/cassandra-ldap/destination/conf/extensions.properties
new file mode 100644
index 0000000..c68a4d9
--- /dev/null
+++ b/dockerfiles/run/guice/cassandra-ldap/destination/conf/extensions.properties
@@ -0,0 +1,10 @@
+# This files enables customization of users extensions injections with guice.
+# A user can drop some jar-with-dependencies within the ./extensions-jars folder and
+# reference classes of these jars in some of James extension mechanisms.
+
+# This includes mailets, matchers, mailboxListeners, preDeletionHooks, protocolHandlers, webAdmin routes
+
+# Upon injections, the user can reference additional guice modules, that are going to be used only upon extensions instantiation.
+
+#List of fully qualified class names of additional guice modules to be used to instanciate extensions
+#guice.extension.module=
\ No newline at end of file
diff --git a/dockerfiles/run/guice/cassandra-rabbitmq-ldap/destination/conf/extensions.properties b/dockerfiles/run/guice/cassandra-rabbitmq-ldap/destination/conf/extensions.properties
new file mode 100644
index 0000000..c68a4d9
--- /dev/null
+++ b/dockerfiles/run/guice/cassandra-rabbitmq-ldap/destination/conf/extensions.properties
@@ -0,0 +1,10 @@
+# This files enables customization of users extensions injections with guice.
+# A user can drop some jar-with-dependencies within the ./extensions-jars folder and
+# reference classes of these jars in some of James extension mechanisms.
+
+# This includes mailets, matchers, mailboxListeners, preDeletionHooks, protocolHandlers, webAdmin routes
+
+# Upon injections, the user can reference additional guice modules, that are going to be used only upon extensions instantiation.
+
+#List of fully qualified class names of additional guice modules to be used to instanciate extensions
+#guice.extension.module=
\ No newline at end of file
diff --git a/dockerfiles/run/guice/cassandra-rabbitmq/destination/conf/extensions.properties b/dockerfiles/run/guice/cassandra-rabbitmq/destination/conf/extensions.properties
new file mode 100644
index 0000000..c68a4d9
--- /dev/null
+++ b/dockerfiles/run/guice/cassandra-rabbitmq/destination/conf/extensions.properties
@@ -0,0 +1,10 @@
+# This files enables customization of users extensions injections with guice.
+# A user can drop some jar-with-dependencies within the ./extensions-jars folder and
+# reference classes of these jars in some of James extension mechanisms.
+
+# This includes mailets, matchers, mailboxListeners, preDeletionHooks, protocolHandlers, webAdmin routes
+
+# Upon injections, the user can reference additional guice modules, that are going to be used only upon extensions instantiation.
+
+#List of fully qualified class names of additional guice modules to be used to instanciate extensions
+#guice.extension.module=
\ No newline at end of file
diff --git a/dockerfiles/run/guice/cassandra/destination/conf/extensions.properties b/dockerfiles/run/guice/cassandra/destination/conf/extensions.properties
new file mode 100644
index 0000000..c68a4d9
--- /dev/null
+++ b/dockerfiles/run/guice/cassandra/destination/conf/extensions.properties
@@ -0,0 +1,10 @@
+# This files enables customization of users extensions injections with guice.
+# A user can drop some jar-with-dependencies within the ./extensions-jars folder and
+# reference classes of these jars in some of James extension mechanisms.
+
+# This includes mailets, matchers, mailboxListeners, preDeletionHooks, protocolHandlers, webAdmin routes
+
+# Upon injections, the user can reference additional guice modules, that are going to be used only upon extensions instantiation.
+
+#List of fully qualified class names of additional guice modules to be used to instanciate extensions
+#guice.extension.module=
\ No newline at end of file
diff --git a/dockerfiles/run/guice/jpa-smtp/destination/conf/extensions.properties b/dockerfiles/run/guice/jpa-smtp/destination/conf/extensions.properties
new file mode 100644
index 0000000..c68a4d9
--- /dev/null
+++ b/dockerfiles/run/guice/jpa-smtp/destination/conf/extensions.properties
@@ -0,0 +1,10 @@
+# This files enables customization of users extensions injections with guice.
+# A user can drop some jar-with-dependencies within the ./extensions-jars folder and
+# reference classes of these jars in some of James extension mechanisms.
+
+# This includes mailets, matchers, mailboxListeners, preDeletionHooks, protocolHandlers, webAdmin routes
+
+# Upon injections, the user can reference additional guice modules, that are going to be used only upon extensions instantiation.
+
+#List of fully qualified class names of additional guice modules to be used to instanciate extensions
+#guice.extension.module=
\ No newline at end of file
diff --git a/dockerfiles/run/guice/jpa/destination/conf/extensions.properties b/dockerfiles/run/guice/jpa/destination/conf/extensions.properties
new file mode 100644
index 0000000..c68a4d9
--- /dev/null
+++ b/dockerfiles/run/guice/jpa/destination/conf/extensions.properties
@@ -0,0 +1,10 @@
+# This files enables customization of users extensions injections with guice.
+# A user can drop some jar-with-dependencies within the ./extensions-jars folder and
+# reference classes of these jars in some of James extension mechanisms.
+
+# This includes mailets, matchers, mailboxListeners, preDeletionHooks, protocolHandlers, webAdmin routes
+
+# Upon injections, the user can reference additional guice modules, that are going to be used only upon extensions instantiation.
+
+#List of fully qualified class names of additional guice modules to be used to instanciate extensions
+#guice.extension.module=
\ No newline at end of file
diff --git a/dockerfiles/run/guice/memory/destination/conf/extensions.properties b/dockerfiles/run/guice/memory/destination/conf/extensions.properties
new file mode 100644
index 0000000..c68a4d9
--- /dev/null
+++ b/dockerfiles/run/guice/memory/destination/conf/extensions.properties
@@ -0,0 +1,10 @@
+# This files enables customization of users extensions injections with guice.
+# A user can drop some jar-with-dependencies within the ./extensions-jars folder and
+# reference classes of these jars in some of James extension mechanisms.
+
+# This includes mailets, matchers, mailboxListeners, preDeletionHooks, protocolHandlers, webAdmin routes
+
+# Upon injections, the user can reference additional guice modules, that are going to be used only upon extensions instantiation.
+
+#List of fully qualified class names of additional guice modules to be used to instanciate extensions
+#guice.extension.module=
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org