@Override protected void startWorker() throws BundleException { super.startWorker(); ((ContainerStartLevel) getRevisions().getContainer().getFrameworkStartLevel()).doContainerStartLevel(this, ContainerStartLevel.USE_BEGINNING_START_LEVEL); }
@Override protected void startWorker() throws BundleException { super.startWorker(); ((ContainerStartLevel) getRevisions().getContainer().getFrameworkStartLevel()).doContainerStartLevel(this, ContainerStartLevel.USE_BEGINNING_START_LEVEL); }
@Override protected void startWorker() throws BundleException { super.startWorker(); ((ContainerStartLevel) getRevisions().getContainer().getFrameworkStartLevel()).doContainerStartLevel(this, ContainerStartLevel.USE_BEGINNING_START_LEVEL); }
@Override protected void stopWorker() throws BundleException { super.stopWorker(); ((ContainerStartLevel) getRevisions().getContainer().getFrameworkStartLevel()).doContainerStartLevel(this, 0); } }
@Override public void start(StartOptions... options) throws BundleException { // make sure to init if needed init(); // Always transient super.start(StartOptions.TRANSIENT, StartOptions.USE_ACTIVATION_POLICY); getRevisions().getContainer().adaptor.publishContainerEvent(ContainerEvent.STARTED, this, null); }
@Override protected void stopWorker() throws BundleException { super.stopWorker(); ((ContainerStartLevel) getRevisions().getContainer().getFrameworkStartLevel()).doContainerStartLevel(this, 0); } }
@Override public void start(StartOptions... options) throws BundleException { // make sure to init if needed init(); // Always transient super.start(StartOptions.TRANSIENT, StartOptions.USE_ACTIVATION_POLICY); getRevisions().getContainer().adaptor.publishContainerEvent(ContainerEvent.STARTED, this, null); }
@Override public void start(StartOptions... options) throws BundleException { // make sure to init if needed init(); // Always transient super.start(StartOptions.TRANSIENT, StartOptions.USE_ACTIVATION_POLICY); getRevisions().getContainer().adaptor.publishContainerEvent(ContainerEvent.STARTED, this, null); }
@Override protected void startWorker() throws BundleException { super.startWorker(); ((ContainerStartLevel) getRevisions().getContainer().getFrameworkStartLevel()).doContainerStartLevel(this, ContainerStartLevel.USE_BEGINNING_START_LEVEL); }
@Override protected void startWorker() throws BundleException { super.startWorker(); ((ContainerStartLevel) getRevisions().getContainer().getFrameworkStartLevel()).doContainerStartLevel(this, ContainerStartLevel.USE_BEGINNING_START_LEVEL); }
@Override protected void stopWorker() throws BundleException { super.stopWorker(); ((ContainerStartLevel) getRevisions().getContainer().getFrameworkStartLevel()).doContainerStartLevel(this, 0); } }
@Override protected void startWorker() throws BundleException { super.startWorker(); ((ContainerStartLevel) getRevisions().getContainer().getFrameworkStartLevel()).doContainerStartLevel(this, ContainerStartLevel.USE_BEGINNING_START_LEVEL); }
@Override protected void stopWorker() throws BundleException { super.stopWorker(); ((ContainerStartLevel) getRevisions().getContainer().getFrameworkStartLevel()).doContainerStartLevel(this, 0); } }
@Override public void start(StartOptions... options) throws BundleException { // make sure to init if needed init(); // Always transient super.start(StartOptions.TRANSIENT, StartOptions.USE_ACTIVATION_POLICY); getRevisions().getContainer().adaptor.publishContainerEvent(ContainerEvent.STARTED, this, null); }
@Override protected void stopWorker() throws BundleException { super.stopWorker(); ((ContainerStartLevel) getRevisions().getContainer().getFrameworkStartLevel()).doContainerStartLevel(this, 0); } }
@Override protected void stopWorker() throws BundleException { super.stopWorker(); ((ContainerStartLevel) getRevisions().getContainer().getFrameworkStartLevel()).doContainerStartLevel(this, 0); } }
@Override public void start(StartOptions... options) throws BundleException { // make sure to init if needed init(); // Always transient super.start(StartOptions.TRANSIENT, StartOptions.USE_ACTIVATION_POLICY); getRevisions().getContainer().adaptor.publishContainerEvent(ContainerEvent.STARTED, this, null); }
@Override public void start(StartOptions... options) throws BundleException { // make sure to init if needed init(); // Always transient super.start(StartOptions.TRANSIENT, StartOptions.USE_ACTIVATION_POLICY); getRevisions().getContainer().adaptor.publishContainerEvent(ContainerEvent.STARTED, this, null); }
getRevisions().getContainer().adaptor.publishContainerEvent(ContainerEvent.ERROR, this, e); containerEvent = ContainerEvent.STOPPED; getRevisions().getContainer().adaptor.publishContainerEvent(containerEvent, this, null); getRevisions().getContainer().close(); } finally { AtomicReference<ContainerEvent> eventReference = forStop; getRevisions().getContainer().adaptor.publishContainerEvent(ContainerEvent.ERROR, this, e); throw new BundleException(Msg.Module_LockError + toString(), BundleException.STATECHANGE_ERROR, e);
getRevisions().getContainer().adaptor.publishContainerEvent(ContainerEvent.ERROR, this, e); containerEvent = ContainerEvent.STOPPED; getRevisions().getContainer().adaptor.publishContainerEvent(containerEvent, this, null); getRevisions().getContainer().close(); } finally { stateChangeLock.unlock(); getRevisions().getContainer().adaptor.publishContainerEvent(ContainerEvent.ERROR, this, e);