Interface ApplicationInstance
-
- All Superinterfaces:
AsynchronousCloseable,AutoCloseable
public interface ApplicationInstance extends AsynchronousCloseable
Represents possibly running application instance. Running instance can be stopped viaAsynchronousCloseable.close()orAsynchronousCloseable.closeAsync().
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,Object>getConfiguration()Returns the application configuration at the time application is started.StringgetId()Returns the application instance id.Optional<Instance>getInstance()StringgetName()Returns the application name.-
Methods inherited from interface com.tick42.glue.core.AsynchronousCloseable
close, closeAsync, onClose
-
-
-
-
Method Detail
-
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
-
-