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 org.gcube.common.authorization.client.proxy.AuthorizationProxyauthorizationProxy()Returns an implementation of the IS publisher for a given applicationContainerContextcontainerContext()Assembles and returns the context of the container.ContainerHandlerscontainerHandlers()Returns the handlers associated with the container.ApplicationContextcontextFor(ContainerContext container, javax.servlet.ServletContext application)Assembles and returns the context of a given application.ApplicationExtensionsextensionsFor(ApplicationContext application)Returns the API extensions associated with a given application.ApplicationHandlershandlersFor(ApplicationContext application)Returns the handlers associated with a given application.org.gcube.informationsystem.publisher.ScopedPublisherpublisherFor(ApplicationContext application)Returns an implementation of the IS publisher for a given applicationorg.gcube.informationsystem.publisher.ScopedPublisherpublisherFor(ContainerContext application)Returns an implementation of the IS publisher for the containerSmartGearsConfigurationsmartgearsConfiguration()Returns the runtime properties.
-
-
-
Method Detail
-
smartgearsConfiguration
SmartGearsConfiguration smartgearsConfiguration()
Returns the runtime properties.- Returns:
- the properties.
-
containerContext
ContainerContext containerContext()
Assembles and returns the context of the container.- Returns:
- the container's context
-
containerHandlers
ContainerHandlers containerHandlers()
Returns the handlers associated with the container.- Returns:
- the handlers
-
publisherFor
org.gcube.informationsystem.publisher.ScopedPublisher publisherFor(ContainerContext application)
Returns an implementation of the IS publisher for the container- Parameters:
application- the context of the container- Returns:
- the publisher implementation
-
contextFor
ApplicationContext contextFor(ContainerContext container, javax.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
ApplicationExtensions extensionsFor(ApplicationContext application)
Returns the API extensions associated with a given application.- Parameters:
application- the context of the application- Returns:
- the extensions
-
publisherFor
org.gcube.informationsystem.publisher.ScopedPublisher publisherFor(ApplicationContext application)
Returns an implementation of the IS publisher for a given application- Parameters:
application- the context of the application- Returns:
- the publisher implementation
-
authorizationProxy
org.gcube.common.authorization.client.proxy.AuthorizationProxy authorizationProxy()
Returns an implementation of the IS publisher for a given application- Parameters:
application- the context of the application- Returns:
- the publisher implementation
-
-