Package org.gcube.smartgears.provider
Interface Provider
- All Known Implementing Classes:
DefaultProvider
public interface Provider
Provides dependencies for container and application management.
- Author:
- Fabio Simeoni, Luca Frosini (ISTI-CNR)
-
Method Summary
Modifier and TypeMethodDescriptionAssembles and returns the context of the container.Returns the handlers associated with the container.contextFor(ContainerContext container, jakarta.servlet.ServletContext application) Assembles and returns the context of a given application.extensionsFor(ApplicationContext application) handlersFor(ApplicationContext application) Returns the handlers associated with a given application.Returns an implementation of the IS publisher for the container
-
Method Details
-
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
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
Returns the handlers associated with a given application.- Parameters:
application- the context of the application- Returns:
- the handlers
-
extensionsFor
-
smartgearsConfiguration
SmartgearsConfiguration smartgearsConfiguration()
-