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

  • Start an intent from android
  • addToBackStack (FragmentTransaction)
  • scheduleAtFixedRate (Timer)
  • getSharedPreferences (Context)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • 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