Class NodesServletRegistry
- java.lang.Object
-
- com.composum.sling.nodes.service.impl.NodesServletRegistry
-
- All Implemented Interfaces:
ServletRegistry
public class NodesServletRegistry extends Object implements ServletRegistry
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.composum.sling.nodes.service.ServletRegistry
ServletRegistry.ServletData
-
-
Field Summary
Fields Modifier and Type Field Description protected HashMap<String,ServletRegistry.ServletData>
registeredServlets
-
Fields inherited from interface com.composum.sling.nodes.service.ServletRegistry
SERVLET_KEY_PROPERTIES
-
-
Constructor Summary
Constructors Constructor Description NodesServletRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
bindServlet(org.osgi.framework.ServiceReference<javax.servlet.Servlet> reference)
@Nullable ServletRegistry.ServletData
getServletData(@NotNull String servletKey)
protected void
unbindServlet(org.osgi.framework.ServiceReference<javax.servlet.Servlet> reference)
-
-
-
Field Detail
-
registeredServlets
protected final HashMap<String,ServletRegistry.ServletData> registeredServlets
-
-
Method Detail
-
bindServlet
protected void bindServlet(org.osgi.framework.ServiceReference<javax.servlet.Servlet> reference)
-
unbindServlet
protected void unbindServlet(org.osgi.framework.ServiceReference<javax.servlet.Servlet> reference)
-
getServletData
@Nullable public @Nullable ServletRegistry.ServletData getServletData(@NotNull @NotNull String servletKey)
- Specified by:
getServletData
in interfaceServletRegistry
-
-