@Contract public interface App extends AutoCloseable, ServiceDirectory
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Class<? extends Module>... moduleClass)
Allows to configure services in the application.
|
void |
configure(Module module)
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(Module module)
Copyright © 2016. All rights reserved.