Stapler + Guice + CloudBees Extensibility API


License

License

Categories

Categories

GUI User Interface Guice Application Layer Libs Dependency Injection
GroupId

GroupId

org.kohsuke.stapler
ArtifactId

ArtifactId

stapler-guice-extensibility
Last Version

Last Version

1.2
Release Date

Release Date

Type

Type

jar
Description

Description

Stapler + Guice + CloudBees Extensibility API
Stapler + Guice + CloudBees Extensibility API
Source Code Management

Source Code Management

https://github.com/stapler/guice-extensibility

Download stapler-guice-extensibility

How to add to project

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

Dependencies

compile (3)

Group / Artifact Type Version
org.kohsuke.stapler : stapler jar 1.228
com.cloudbees : extensibility jar 1.5
javax.servlet : javax.servlet-api jar 3.0.1

test (2)

Group / Artifact Type Version
junit : junit jar 4.11
org.mockito : mockito-all jar 1.9.5

Project Modules

There are no modules declared in this project.

This stapler module creates a Guice Injector automatically from all the jar files in the classpath by using Extensibility API.

This is the barebone service needed to create an extensible application that follows the extension point / multiple implementations" paradigm.

The application should define a WebAppMain class that extends from ExtensibleWebAppMain, which designates the Guice singleton component that gets bound to the top of the URL space.

In addition, all the @Extensions that implement Startable interface gets started.

org.kohsuke.stapler

Stapler Web Framework

Versions

Version
1.2
1.1
1.0