Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JAMES-2886 Allow to load extensions in WebAdmin #2701

Closed
wants to merge 15 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/site/xdoc/server/dev-extend.xml
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@
<p>Also, it is possible to register additional Guice bindings, that are applied as a Guice child injector
for creating extensions.</p>

<p>Note: James injector is not altered nor overloaded in any way.</p>
<p>Note: Extensions are loaded in their own classpath to avoid breaking James server but they can retrieve James services to implement their business logic.</p>

<p>To do so, write an <a href="https://google.github.io/guice/api-docs/latest/javadoc/index.html?com/google/inject/AbstractModule.html">
<p>To do so, write an <a href="https://google.github.io/guice/api-docs/latest/javadoc/index.html?com/google/inject/Module.html">
AbstractModule</a> with the additional guice bindings you need. Then package it as a <b>jar-with-dependencies</b>, and copy the
chibenwa marked this conversation as resolved.
Show resolved Hide resolved
jar-with-dependencies within the <b>extensions-jars</b> folder of your James installation, as you will do for any other extension.</p>

Expand Down