Jolira Plugins

A Simple but Effective Plugin Mechanism built on Guice Multibindings

License

License

GroupId

GroupId

com.jolira
ArtifactId

ArtifactId

plugins
Last Version

Last Version

3.0.5
Release Date

Release Date

Type

Type

jar
Description

Description

Jolira Plugins
A Simple but Effective Plugin Mechanism built on Guice Multibindings
Project URL

Project URL

http://code.google.com/p/jolira-tools/wiki/guice/plugins

Download plugins

How to add to project

<!-- https://jarcasting.com/artifacts/com.jolira/plugins/ -->
<dependency>
    <groupId>com.jolira</groupId>
    <artifactId>plugins</artifactId>
    <version>3.0.5</version>
</dependency>
// https://jarcasting.com/artifacts/com.jolira/plugins/
implementation 'com.jolira:plugins:3.0.5'
// https://jarcasting.com/artifacts/com.jolira/plugins/
implementation ("com.jolira:plugins:3.0.5")
'com.jolira:plugins:jar:3.0.5'
<dependency org="com.jolira" name="plugins" rev="3.0.5">
  <artifact name="plugins" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.jolira', module='plugins', version='3.0.5')
)
libraryDependencies += "com.jolira" % "plugins" % "3.0.5"
[com.jolira/plugins "3.0.5"]

Dependencies

compile (2)

Group / Artifact Type Version
org.slf4j : slf4j-api jar 1.6.1
com.google.inject.extensions : guice-multibindings jar 3.0

test (1)

Group / Artifact Type Version
junit : junit jar 4.10

Project Modules

There are no modules declared in this project.

Google Guice

Extensions for Guice.

Plugins

A very simple plugins mechanism that automatically discovers plugins by looking for META-INF/services/com.google.inject.Module file. This module file contains the name of the class or classes that should be added when constructing the injector.

Every JAR used with this mechanism should contains such a META-INF/services/com.google.inject.Module file. To create the injector, create the PluginManager, which discovers all META-INF/services/com.google.inject.Module files in the search path, instantiates all the modules identified there and creates an Injector using the modules.

Managed

Singletons are great, but sometimes it is great to get rid of them. ManagedSingletons are exactly for that. They exist until they are reset by the SingletonManager.

com.jolira

Jolira

Versions

Version
3.0.5
3.0.2
3.0.1
3.0.0
2.1.8
2.1.6
2.1.1
2.1.0
2.0.3
2.0.2