RIFTSAW-554 add hooks to allow consumers to integrate into osgi environm...

...ents

https://issues.jboss.org/browse/RIFTSAW-554