https://github.com/forge/addon-mail
Addon to send email using JBoss Forge
https://github.com/forge/addon-mail
Last synced: 2 months ago
JSON representation
Addon to send email using JBoss Forge
- Host: GitHub
- URL: https://github.com/forge/addon-mail
- Owner: forge
- Created: 2014-04-10T18:57:41.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-04-14T19:29:14.000Z (almost 12 years ago)
- Last Synced: 2025-01-21T08:44:31.370Z (about 1 year ago)
- Language: Java
- Size: 160 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.asciidoc
Awesome Lists containing this project
README
== mail
:idprefix: id_
This addon provides *standalone* functionality, and *exports services* for use in other addons.
=== Dependencies: None (or)
=== Depends on
[options="header"]
|===
|Addon |Exported |Optional
|DEP1
|yes
|no
|DEP2
|yes
|yes
|===
== Setup
This Addon requires the following installation steps.
=== Add configuration to pom.xml
To use this addon, you must add it as a dependency in the *pom.xml* of your `forge-addon` classified artifact:
(Make sure the dependency is put all the way to the left, and uses 3 spaces for indentation of GAV)
[source,xml]
----
org.jboss.forge.addon
mail
forge-addon
${version}
----
== Features
ABCFactory for simple ABC blah::
Allows for blah blah
+
[source,java]
----
@Inject private ABCFactory factory;
ABC abc = factory.createABC();
----
+
[TIP]
====
If your addon uses a container that does not support "@Inject" annotations, services such as the `ABCFactory` may also be
accessed via the `AddonRegistry`:
----
Imported imported = addonRegistry.getServices(ABCFactory.class);
ABCFactory factory = imported.get();
----
====
Creating a new XYZ instance::
Causes XYZ to occur
+
[source,java]
----
XYZ xyz = factory.createXYZ();
----