Package org.gcube.smartgears.provider
Class DefaultProvider
- java.lang.Object
-
- org.gcube.smartgears.provider.DefaultProvider
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDefaultProvider()protectedDefaultProvider(File configFile)
-
Method Summary
All Methods Instance Methods Concrete 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 context, jakarta.servlet.ServletContext application)Assembles and returns the context of a given application.List<ApplicationExtension>extensionsFor(ApplicationContext context)ApplicationHandlershandlersFor(ApplicationContext context)Returns the handlers associated with a given application.List<Publisher>publishers()Returns an implementation of the IS publisher for the containerSmartgearsConfigurationsmartgearsConfiguration()
-
-
-
Constructor Detail
-
DefaultProvider
protected DefaultProvider(File configFile)
-
DefaultProvider
protected DefaultProvider()
-
-
Method Detail
-
containerContext
public ContainerContext containerContext()
Description copied from interface:ProviderAssembles and returns the context of the container.- Specified by:
containerContextin interfaceProvider- Returns:
- the container's context
-
containerHandlers
public List<ContainerHandler> 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
public ApplicationHandlers handlersFor(ApplicationContext context)
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
public List<ApplicationExtension> extensionsFor(ApplicationContext context)
- Specified by:
extensionsForin interfaceProvider
-
publishers
public List<Publisher> publishers()
Description copied from interface:ProviderReturns an implementation of the IS publisher for the container- Specified by:
publishersin interfaceProvider- Returns:
- the publisher implementation
-
smartgearsConfiguration
public SmartgearsConfiguration smartgearsConfiguration()
- Specified by:
smartgearsConfigurationin interfaceProvider
-
-