odlguice.git
7 years ago@Inject convenience helper (org.opendaylight.infrautils.inject)
Michael Vorburger [Tue, 23 Aug 2016 13:59:43 +0000 (15:59 +0200)]
@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>