congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Deactivate
Code IndexAdd Tabnine to your IDE (free)

How to use
Deactivate
in
org.apache.felix.scr.annotations

Best Java code snippets using org.apache.felix.scr.annotations.Deactivate (Showing top 20 results out of 2,259)

Refine searchRefine arrow

  • ServiceRegistration
  • ExecutorService
origin: apache/jackrabbit-oak

@SuppressWarnings("UnusedDeclaration")
@Deactivate
protected void deactivate() {
  for (ServiceRegistration registration : regs) {
    registration.unregister();
  }
}
origin: io.fabric8/fabric-zookeeper

@Deactivate
void deactivate() throws InterruptedException {
  deactivateComponent();
  State prev = state.getAndSet(null);
  if (prev != null) {
    CuratorFrameworkLocator.unbindCurator(prev.curator);
    prev.close();
  }
  executor.shutdown();
  executor.awaitTermination(30, TimeUnit.SECONDS);
}
origin: apache/stanbol

@Deactivate
protected void deactivate(ComponentContext ctx){
  log.info("deactivate {}", getClass().getSimpleName());
  if(serviceRegistration != null){
    serviceRegistration.unregister();
  }
  if(executorService != null){
    log.info(" ... shutdown ExecutorService");
    executorService.shutdown();
    executorService = null;
  }
}

origin: org.onosproject/onos-app-openstackswitching

@Deactivate
protected void deactivate() {
  packetService.removeProcessor(internalPacketProcessor);
  deviceService.removeListener(internalDeviceListener);
  deviceEventExecutorService.shutdown();
  configEventExecutorService.shutdown();
  hostService.removeListener(internalHostListener);
  configService.removeListener(configListener);
  configRegistry.unregisterConfigFactory(configFactory);
  log.info("Stopped");
}
origin: org.onosproject/onos-lldp-provider

@Deactivate
public void deactivate() {
  shuttingDown = true;
  cfgRegistry.removeListener(cfgListener);
  factories.forEach(cfgRegistry::unregisterConfigFactory);
  cfgService.unregisterProperties(getClass(), false);
  disable();
  eventExecutor.shutdownNow();
  eventExecutor = null;
  log.info("Stopped");
}
origin: fabric8io/kubernetes-client

@Deactivate
public void deactivate() {
 delegate.close();
}
origin: org.onosproject/onos-app-routing

@Deactivate
public void deactivate() {
  leadershipService.withdraw(appId.name());
  leadershipService.removeListener(leadershipEventListener);
  synchronized (this) {
    intentsSynchronizerExecutor.shutdownNow();
  }
  log.info("Stopped");
}
origin: fabric8io/kubernetes-client

@Deactivate
public void deactivate() {
 delegate.close();
}
origin: apache/jackrabbit-oak

@Deactivate
private void deactivate() {
  if (serviceRegistration != null) {
    serviceRegistration.unregister();
    serviceRegistration = null;
  }
}
origin: apache/jackrabbit-oak

@Deactivate
protected void deactivate() throws Exception {
  solrHome = null;
  solrCoreName = null;
}
origin: apache/jackrabbit-oak

@Deactivate
protected void deactivate() {
  if (reg != null) {
    reg.unregister();
  }
}
origin: apache/jackrabbit-oak

@Deactivate
protected void deactivate() throws Exception {
  solrHttpUrl = null;
  solrZkHost = null;
  solrCollection = null;
  solrShardsNo = 0;
  solrReplicationFactor = 0;
  solrConfDir = null;
}
origin: org.apache.sling/org.apache.sling.testing.sling-mock-oak

@Deactivate
protected void deactivate() {
  if (reg != null) {
    reg.unregister();
  }
}
origin: apache/jackrabbit-oak

  @SuppressWarnings("UnusedDeclaration")
  @Deactivate
  private void deactivate(Map<String, Object> properties) {
  }
}
origin: apache/jackrabbit-oak

  @Deactivate
  private void deactivate() {
    if (reg != null) {
      reg.unregister();
      reg = null;
    }
  }
}
origin: apache/jackrabbit-oak

@SuppressWarnings("UnusedDeclaration")
@Deactivate
private void deactivate() {
  // nop
}
origin: io.fabric8/fabric-openshift

@Deactivate
public void deactivate() {
  if (registration != null) {
    registration.unregister();
    registration = null;
  }
}
origin: org.apache.jackrabbit/oak-solr-core

@Deactivate
protected void deactivate() throws Exception {
  solrHttpUrl = null;
  solrZkHost = null;
  solrCollection = null;
  solrShardsNo = 0;
  solrReplicationFactor = 0;
  solrConfDir = null;
}
origin: org.everit.osgi/org.everit.osgi.cache.infinispan

@Deactivate
public void deactivate() {
  if (serviceRegistration != null) {
    serviceRegistration.unregister();
  }
}
origin: org.apache.sling/org.apache.sling.jcr.webdav

@Deactivate
@SuppressWarnings("unused")
private void deactivate() {
  this.delegatee = null;
}
org.apache.felix.scr.annotationsDeactivate

Most used methods

  • <init>

Popular in Java

  • Reading from database using SQL prepared statement
  • notifyDataSetChanged (ArrayAdapter)
  • getApplicationContext (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now