Package org.gcube.smartgears.provider
Class DefaultProvider
- java.lang.Object
-
- org.gcube.smartgears.provider.DefaultProvider
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDefaultProvider()
-
Method Summary
All Methods Instance Methods Concrete 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 context, javax.servlet.ServletContext application)Assembles and returns the context of a given application.ApplicationExtensionsextensionsFor(ApplicationContext context)Returns the API extensions associated with a given application.ApplicationHandlershandlersFor(ApplicationContext context)Returns the handlers associated with a given application.org.gcube.informationsystem.publisher.ScopedPublisherpublisherFor(ApplicationContext context)Returns an implementation of the IS publisher for a given applicationorg.gcube.informationsystem.publisher.ScopedPublisherpublisherFor(ContainerContext context)Returns an implementation of the IS publisher for the containerSmartGearsConfigurationsmartgearsConfiguration()Returns the runtime properties.
-
-
-
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 ContainerHandlers 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, javax.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 ApplicationExtensions extensionsFor(ApplicationContext context)
Description copied from interface:ProviderReturns the API extensions associated with a given application.- Specified by:
extensionsForin interfaceProvider- Parameters:
context- the context of the application- Returns:
- the extensions
-
smartgearsConfiguration
public SmartGearsConfiguration smartgearsConfiguration()
Description copied from interface:ProviderReturns the runtime properties.- Specified by:
smartgearsConfigurationin interfaceProvider- Returns:
- the properties.
-
publisherFor
public org.gcube.informationsystem.publisher.ScopedPublisher publisherFor(ContainerContext context)
Description copied from interface:ProviderReturns an implementation of the IS publisher for the container- Specified by:
publisherForin interfaceProvider- Parameters:
context- the context of the container- Returns:
- the publisher implementation
-
publisherFor
public org.gcube.informationsystem.publisher.ScopedPublisher publisherFor(ApplicationContext context)
Description copied from interface:ProviderReturns an implementation of the IS publisher for a given application- Specified by:
publisherForin interfaceProvider- Parameters:
context- the context of the application- Returns:
- the publisher implementation
-
authorizationProxy
public org.gcube.common.authorization.client.proxy.AuthorizationProxy authorizationProxy()
Description copied from interface:ProviderReturns an implementation of the IS publisher for a given application- Specified by:
authorizationProxyin interfaceProvider- Returns:
- the publisher implementation
-
-