Class WhiteboardContextHandler

    • Constructor Detail

      • WhiteboardContextHandler

        public WhiteboardContextHandler​(@NotNull
                                        ServletContextHelperInfo info,
                                        @NotNull
                                        jakarta.servlet.ServletContext webContext,
                                        @NotNull
                                        org.osgi.framework.Bundle httpBundle)
    • Method Detail

      • getBundleContext

        @NotNull
        public org.osgi.framework.BundleContext getBundleContext()
      • activate

        public boolean activate​(@NotNull
                                HandlerRegistry registry)
        Activate this context.
        Parameters:
        registry - The handler registry
        Returns:
        true if it succeeded.
      • deactivate

        public void deactivate​(@NotNull
                               HandlerRegistry registry)
        Deactivate this context.
      • getSharedContext

        @Nullable
        public jakarta.servlet.ServletContext getSharedContext()
      • getServletContext

        @Nullable
        public ExtServletContext getServletContext​(@Nullable
                                                   org.osgi.framework.Bundle bundle)
      • ungetServletContext

        public void ungetServletContext​(@NotNull
                                        org.osgi.framework.Bundle bundle)