Interface ProcessingWebContainerView

  • All Superinterfaces:
    org.ops4j.pax.web.service.views.PaxWebContainerView

    public interface ProcessingWebContainerView
    extends org.ops4j.pax.web.service.views.PaxWebContainerView

    A view that allows post-processing of existing contexts. Used by HTTP context processing to configure security and context param using Config Admin.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.ops4j.pax.web.service.spi.model.OsgiContextModel getContextModel​(org.osgi.framework.Bundle bundle, String contextId)
      Allows to obtain highest ranked bundle-scoped (if bundle is not null) or shared (if bundle is null) OsgiContextModel with specific ID.
      void sendBatch​(org.ops4j.pax.web.service.spi.task.Batch batch)
      Configuration specified via Configuration Admin (as of 2022-04-06) contains only login config, security constraints, security roles and context params.
    • Method Detail

      • getContextModel

        org.ops4j.pax.web.service.spi.model.OsgiContextModel getContextModel​(org.osgi.framework.Bundle bundle,
                                                                             String contextId)
        Allows to obtain highest ranked bundle-scoped (if bundle is not null) or shared (if bundle is null) OsgiContextModel with specific ID.
        Parameters:
        bundle -
        contextId -
        Returns:
      • sendBatch

        void sendBatch​(org.ops4j.pax.web.service.spi.task.Batch batch)
        Configuration specified via Configuration Admin (as of 2022-04-06) contains only login config, security constraints, security roles and context params. However any configuration may be passed using a generic "sendBatch" operation.
        Parameters:
        batch -