@Inject convenience helper (org.opendaylight.infrautils.inject)
authorMichael Vorburger <vorburger@redhat.com>
Tue, 23 Aug 2016 13:59:43 +0000 (15:59 +0200)
committerMichael Vorburger <vorburger@redhat.com>
Mon, 29 Aug 2016 09:14:48 +0000 (11:14 +0200)
commit77707fb5ba139e9cd7b9472d5394b4e572b7645e
tree23a439280a994e2be96d64f5fa7c3dbd85e1bb51
@Inject convenience helper (org.opendaylight.infrautils.inject)

Introduces the Lifecycle interrface with the LifecycleSupport and
SingletonWithLifecycle convenience base classes, with a
ModuleSetupRuntimeException, to standardize the use of @Inject (in
@Singleton) in the ODL code base for projects using the
blueprint-maven-plugin to generate wiring XML from these Java
annotations instead of hand writing it.

Change-Id: I88313940370e6cbef30bd471b2cda8238be5beb8
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
inject/pom.xml [new file with mode: 0644]
inject/src/main/java/org/opendaylight/infrautils/inject/AbstractLifecycle.java [new file with mode: 0644]
inject/src/main/java/org/opendaylight/infrautils/inject/Lifecycle.java [new file with mode: 0644]
inject/src/main/java/org/opendaylight/infrautils/inject/ModuleSetupRuntimeException.java [new file with mode: 0644]
inject/src/main/java/org/opendaylight/infrautils/inject/SingletonWithLifecycle.java [new file with mode: 0644]
inject/src/main/java/org/opendaylight/infrautils/inject/package-info.java [new file with mode: 0644]
pom.xml [new file with mode: 0755]