Tabnine Logo
Application.close
Code IndexAdd Tabnine to your IDE (free)

How to use
close
method
in
com.oracle.tools.runtime.Application

Best Java code snippets using com.oracle.tools.runtime.Application.close (Showing top 2 results out of 315)

origin: com.oracle.tools/oracle-tools-runtime

@Override
public void close()
{
  if (isClosed.compareAndSet(false, true))
  {
    for (A application : applications)
    {
      if (application != null)
      {
        try
        {
          application.close();
        }
        catch (Exception e)
        {
          // skip: we always ignore
        }
      }
    }
    // now remove the applications
    applications.clear();
  }
}
origin: com.oracle.tools/oracle-tools-runtime-vagrant

application.close();
com.oracle.tools.runtimeApplicationclose

Javadoc

Attempts to gracefully closes and terminate the running Application.

Upon returning it is safe to assume that the Applicationis no longer running. All resources, including input and output streams used by the Application are no longer available to be used.

To determine the exit value of the terminated application use #exitValue().

Popular methods of Application

  • getLifecycleInterceptors
    Obtains the LifecycleEventInterceptors for the Application.
  • getName
    Obtains the name of the Application.
  • waitFor

Popular in Java

  • Updating database using SQL prepared statement
  • requestLocationUpdates (LocationManager)
  • compareTo (BigDecimal)
  • startActivity (Activity)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top plugins for Android Studio
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