本文整理汇总了Java中aQute.bnd.annotation.component.Deactivate类的典型用法代码示例。如果您正苦于以下问题:Java Deactivate类的具体用法?Java Deactivate怎么用?Java Deactivate使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
Deactivate类属于aQute.bnd.annotation.component包,在下文中一共展示了Deactivate类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: deactivate
import aQute.bnd.annotation.component.Deactivate; //导入依赖的package包/类
@Deactivate
protected void deactivate() {
logger.debug("deactivate()");
if (this.localDir != null) {
this.serviceSettings.removeSyncRoot(this.localDir);
}
this.filterRoots = null;
this.localDir = null;
this.overwriteConfigFiles = null;
this.syncOnceType = null;
this.willSyncOnce = null;
}
示例2: stop
import aQute.bnd.annotation.component.Deactivate; //导入依赖的package包/类
@Deactivate
public void stop(BundleContext context) throws Exception {
// Unregister all Services
Set<String> dbNames = dbSrv.keySet();
for (String name : dbNames) {
dbSrv.get(name).unregister();
dbMap.get(name).shutdown();
}
}
示例3: doDeactivate
import aQute.bnd.annotation.component.Deactivate; //导入依赖的package包/类
@Deactivate
public void doDeactivate(ComponentContext ctx) {
log.info("Stop");
configUpdaterReg.unregister();
context.removeBundleListener(this);
context.removeServiceListener(this);
}
示例4: doDeactivate
import aQute.bnd.annotation.component.Deactivate; //导入依赖的package包/类
@Deactivate
public void doDeactivate(ComponentContext ctx) {
if (tracker != null) {
tracker.stop();
tracker = null;
}
}
示例5: doDeactivate
import aQute.bnd.annotation.component.Deactivate; //导入依赖的package包/类
@Deactivate
public void doDeactivate(ComponentContext ctx) {
tracker.close();
synchronized (list) {
for (WebServiceInfoImpl info: list)
info.disconnect();
list.clear();
}
}
示例6: deactivate
import aQute.bnd.annotation.component.Deactivate; //导入依赖的package包/类
@Deactivate
public void deactivate() {
if (server != null) {
server.stop();
server.destroy();
}
}
示例7: deactivate
import aQute.bnd.annotation.component.Deactivate; //导入依赖的package包/类
@Deactivate
public void deactivate() {
if (server != null) {
server.stop();
server.destroy();
server = null;
}
}
示例8: deactivate
import aQute.bnd.annotation.component.Deactivate; //导入依赖的package包/类
@Deactivate
public void deactivate() throws Exception {
if (javaUtilLogging != null) {
java.util.logging.Logger.getLogger("").removeHandler(javaUtilLogging);
}
//
// Stop our thread
//
interrupt();
}
示例9: deactivate
import aQute.bnd.annotation.component.Deactivate; //导入依赖的package包/类
@Deactivate
void deactivate() {
List<Runnable> running = es.shutdownNow();
if (!running.isEmpty())
log.shutdownWhileTasksRunning(running);
}
示例10: deactivate
import aQute.bnd.annotation.component.Deactivate; //导入依赖的package包/类
@Deactivate
public synchronized void deactivate(BundleContext context) {
context.removeServiceListener(this);
for (Configuration managedConfiguration : this.managedConfigs.values()) {
this.deleteConfiguration(managedConfiguration);
}
this.managedConfigs.clear();
this.deleteSingletonConfiguration();
}
示例11: deactivate
import aQute.bnd.annotation.component.Deactivate; //导入依赖的package包/类
@Deactivate
void deactivate() {
httpTracker.close();
}
示例12: deactivate
import aQute.bnd.annotation.component.Deactivate; //导入依赖的package包/类
@Deactivate
void deactivate() {
}
示例13: deactivate
import aQute.bnd.annotation.component.Deactivate; //导入依赖的package包/类
@Deactivate
void deactivate() {
// TODO Auto-generated method stub
}
示例14: deactivate
import aQute.bnd.annotation.component.Deactivate; //导入依赖的package包/类
@Deactivate
public final void deactivate() {
modelMapper = null;
}
示例15: deactivate
import aQute.bnd.annotation.component.Deactivate; //导入依赖的package包/类
@Deactivate
void deactivate(BundleContext bundleContext) throws Exception {
serviceTracker.close();
}