Class DefaultProvider

  • All Implemented Interfaces:
    Provider

    public class DefaultProvider
    extends Object
    implements Provider
    Default implementation of the Provider interface.
    Author:
    Fabio Simeoni
    • Constructor Detail

      • DefaultProvider

        protected DefaultProvider()
    • Method Detail

      • containerContext

        public ContainerContext containerContext()
        Description copied from interface: Provider
        Assembles and returns the context of the container.
        Specified by:
        containerContext in interface Provider
        Returns:
        the container's context
      • contextFor

        public ApplicationContext contextFor​(ContainerContext context,
                                             javax.servlet.ServletContext application)
        Description copied from interface: Provider
        Assembles and returns the context of a given application.
        Specified by:
        contextFor in interface Provider
        Parameters:
        context - the context of the container
        application - the servlet context of the application
        Returns:
      • publisherFor

        public org.gcube.informationsystem.publisher.ScopedPublisher publisherFor​(ContainerContext context)
        Description copied from interface: Provider
        Returns an implementation of the IS publisher for the container
        Specified by:
        publisherFor in interface Provider
        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: Provider
        Returns an implementation of the IS publisher for a given application
        Specified by:
        publisherFor in interface Provider
        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: Provider
        Returns an implementation of the IS publisher for a given application
        Specified by:
        authorizationProxy in interface Provider
        Returns:
        the publisher implementation