@Override protected void doStop() { registry.notifySilently(PreFrameworkStop.class, PreFrameworkStop.PROCEDURE); registry.notifySilently(FrameworkStop.class, FrameworkStop.PROCEDURE); registry.notifySilently(PostFrameworkStop.class, PostFrameworkStop.PROCEDURE); Palava.removeFramework(this); }
@Override protected void doStart() { Palava.addFramework(this); registry.notify(PreFrameworkStart.class, PreFrameworkStart.PROCEDURE); registry.notify(FrameworkStart.class, FrameworkStart.PROCEDURE); registry.notifySilently(PostFrameworkStart.class, PostFrameworkStart.PROCEDURE); }