@Contract public interface App extends AutoCloseable, ServiceDirectory
| Modifier and Type | Interface and Description |
|---|---|
static interface |
App.AppConfigurator
Internal functional interface to used to configure an application.
|
| Modifier and Type | Method and Description |
|---|---|
void |
configure(App.AppConfigurator session)
Allows to configure services in the application.
|
static App |
create() |
String |
getName()
The instance name.
|
static App |
getOrCreate(String name) |
closegetInstance, getInstance, getInstance, getInstance, getInstance, getOrCreateInstance, getOrCreateInstance, listServices, listServices, listServices, listServices, locate, locate, locate, locate, locatestatic App create()
static App getOrCreate(String name)
String getName()
void configure(App.AppConfigurator session)
Copyright © 2015. All rights reserved.