Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gastaldi/twitter-addon
Twitter addon for JBoss Forge
https://github.com/gastaldi/twitter-addon
Last synced: 5 days ago
JSON representation
Twitter addon for JBoss Forge
- Host: GitHub
- URL: https://github.com/gastaldi/twitter-addon
- Owner: gastaldi
- Created: 2014-05-15T16:38:10.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-07-26T14:11:34.000Z (over 7 years ago)
- Last Synced: 2024-11-08T09:47:36.652Z (about 2 months ago)
- Language: Java
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.asciidoc
Awesome Lists containing this project
README
:idprefix: id_
This addon provides *standalone* functionality, and *exports services* for use in other addons.=== Depends on
[options="header"]
|===
|Addon |Exported |Optional
|ui
|yes
|no|configuration
|yes
|no|cdi
|yes
|no
|===== 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:
[source,xml]
----com.github.gastaldi
forge-addon
${version}----
== Features
Twitter handler::
Allows invoking Twitter commands
+
[source,java]
----
@Inject private Twitter twitter;
...
twitter.updateStatus("Hello Twitter World!");
----
+
[TIP]
====
If your addon uses a container that does not support "@Inject" annotations, services such as the `Twitter` may also be
accessed via the `AddonRegistry`:
----
Imported imported = addonRegistry.getServices(Twitter.class);
Twitter twitter = imported.get();
----
====