Package org.gcube.smartgears.provider
Interface Provider
-
- All Known Implementing Classes:
DefaultProvider
public interface ProviderProvides dependencies for container and application management.- Author:
- Fabio Simeoni
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContainerContextcontainerContext()Assembles and returns the context of the container.List<ContainerHandler>containerHandlers()Returns the handlers associated with the container.ApplicationContextcontextFor(ContainerContext container, jakarta.servlet.ServletContext application)Assembles and returns the context of a given application.List<ApplicationExtension>extensionsFor(ApplicationContext application)ApplicationHandlershandlersFor(ApplicationContext application)Returns the handlers associated with a given application.List<Publisher>publishers()Returns an implementation of the IS publisher for the containerSmartgearsConfigurationsmartgearsConfiguration()
-
-
-
Method Detail
-
containerContext
ContainerContext containerContext()
Assembles and returns the context of the container.- Returns:
- the container's context
-
containerHandlers
List<ContainerHandler> containerHandlers()
Returns the handlers associated with the container.- Returns:
- the handlers
-
publishers
List<Publisher> publishers()
Returns an implementation of the IS publisher for the container- Returns:
- the publisher implementation
-
contextFor
ApplicationContext contextFor(ContainerContext container, jakarta.servlet.ServletContext application)
Assembles and returns the context of a given application.- Parameters:
container- the context of the containerapplication- the servlet context of the application- Returns:
-
handlersFor
ApplicationHandlers handlersFor(ApplicationContext application)
Returns the handlers associated with a given application.- Parameters:
application- the context of the application- Returns:
- the handlers
-
extensionsFor
List<ApplicationExtension> extensionsFor(ApplicationContext application)
-
smartgearsConfiguration
SmartgearsConfiguration smartgearsConfiguration()
-
-