Package play.components
Interface BaseComponents
-
- All Superinterfaces:
ConfigurationComponents
- All Known Subinterfaces:
BuiltInComponents
- All Known Implementing Classes:
BuiltInComponentsFromContext,ContextBasedBuiltInComponents,RoutingDslComponentsFromContext
public interface BaseComponents extends ConfigurationComponents
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ApplicationLifecycleapplicationLifecycle()Environmentenvironment()The application environment.Routerrouter()Optional<play.core.SourceMapper>sourceMapper()-
Methods inherited from interface play.components.ConfigurationComponents
config, configuration
-
-
-
-
Method Detail
-
environment
Environment environment()
The application environment.- Returns:
- an instance of the application environment
-
sourceMapper
Optional<play.core.SourceMapper> sourceMapper()
-
applicationLifecycle
ApplicationLifecycle applicationLifecycle()
-
router
Router router()
-
-