Interface ApplicationInstance

All Superinterfaces:
AsynchronousCloseable, AutoCloseable

public interface ApplicationInstance extends AsynchronousCloseable
Represents possibly running application instance. Running instance can be stopped via AsynchronousCloseable.close() or AsynchronousCloseable.closeAsync().
  • Method Details

    • getName

      String getName()
      Returns the application name.
      Returns:
      application name, never null
    • getConfiguration

      Map<String,Object> getConfiguration()
      Returns the application configuration at the time application is started.
      Returns:
      application configuration, never null
    • getId

      String getId()
      Returns the application instance id.
      Returns:
      The application instance id, never null
      Since:
      1.3.7
    • getInstance

      Optional<Instance> getInstance()
      Returns an Optional that contains the interop Instance for this application instance.
      Returns:
      An Optional that contains the interop Instance, never null
      Since:
      1.4.2