Package org.gcube.smartgears.provider
Class DefaultProvider
java.lang.Object
org.gcube.smartgears.provider.DefaultProvider
- All Implemented Interfaces:
Provider
Default implementation of the
Provider interface.- Author:
- Fabio Simeoni, Luca Frosini (ISTI-CNR)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAssembles and returns the context of the container.Returns the handlers associated with the container.contextFor(ContainerContext context, jakarta.servlet.ServletContext application) Assembles and returns the context of a given application.extensionsFor(ApplicationContext context) handlersFor(ApplicationContext context) Returns the handlers associated with a given application.Returns an implementation of the IS publisher for the container
-
Constructor Details
-
DefaultProvider
-
DefaultProvider
protected DefaultProvider()
-
-
Method Details
-
containerContext
Description copied from interface:ProviderAssembles and returns the context of the container.- Specified by:
containerContextin interfaceProvider- Returns:
- the container's context
-
containerHandlers
Description copied from interface:ProviderReturns the handlers associated with the container.- Specified by:
containerHandlersin interfaceProvider- Returns:
- the handlers
-
contextFor
public ApplicationContext contextFor(ContainerContext context, jakarta.servlet.ServletContext application) Description copied from interface:ProviderAssembles and returns the context of a given application.- Specified by:
contextForin interfaceProvider- Parameters:
context- the context of the containerapplication- the servlet context of the application- Returns:
-
handlersFor
Description copied from interface:ProviderReturns the handlers associated with a given application.- Specified by:
handlersForin interfaceProvider- Parameters:
context- the context of the application- Returns:
- the handlers
-
extensionsFor
- Specified by:
extensionsForin interfaceProvider
-
publishers
Description copied from interface:ProviderReturns an implementation of the IS publisher for the container- Specified by:
publishersin interfaceProvider- Returns:
- the publisher implementation
-
smartgearsConfiguration
- Specified by:
smartgearsConfigurationin interfaceProvider
-