public interface OsgiLauncher
brooklyn-karaf-init
) creates the management context etc,
and advertises the OsgiLauncher
as a service.
brooklyn-karaf-start
) actually starts things up (binding to
persisted state, etc).
brooklyn-rest-resources
, to
satisfy their dependencies earlier and thus to start up.
This gives us the same behaviour as we have in classic, where the web-apps would be
started in the middle of BasicLauncher.start()
,
in the overridden BasicLauncher.startingUp()
.
The web-console can thus show "starting", and the rest-api respond, when rebind() is taking
a long time.Modifier and Type | Method and Description |
---|---|
void |
destroyOsgi()
Called by blueprint container brooklyn-karaf-init.
|
void |
initOsgi()
Called by blueprint container of brooklyn-karaf-init.
|
void |
startOsgi()
Called by blueprint container of brooklyn-karaf-start.
|
void initOsgi()
void startOsgi()
void destroyOsgi()