public class WhiteboardContextHandler extends Object implements Comparable<WhiteboardContextHandler>
| Constructor and Description |
|---|
WhiteboardContextHandler(@NotNull ServletContextHelperInfo info,
@NotNull javax.servlet.ServletContext webContext,
@NotNull org.osgi.framework.Bundle httpBundle) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
activate(@NotNull HandlerRegistry registry)
Activate this context.
|
int |
compareTo(@NotNull WhiteboardContextHandler o) |
void |
deactivate(@NotNull HandlerRegistry registry)
Deactivate this context.
|
@NotNull org.osgi.framework.BundleContext |
getBundleContext() |
@NotNull ServletContextHelperInfo |
getContextInfo() |
@Nullable PerContextHandlerRegistry |
getRegistry() |
@Nullable ExtServletContext |
getServletContext(@Nullable org.osgi.framework.Bundle bundle) |
@Nullable javax.servlet.ServletContext |
getSharedContext() |
void |
ungetServletContext(@NotNull org.osgi.framework.Bundle bundle) |
public WhiteboardContextHandler(@NotNull
@NotNull ServletContextHelperInfo info,
@NotNull
@NotNull javax.servlet.ServletContext webContext,
@NotNull
@NotNull org.osgi.framework.Bundle httpBundle)
@NotNull public @NotNull org.osgi.framework.BundleContext getBundleContext()
@NotNull public @NotNull ServletContextHelperInfo getContextInfo()
public int compareTo(@NotNull
@NotNull WhiteboardContextHandler o)
compareTo in interface Comparable<WhiteboardContextHandler>public boolean activate(@NotNull
@NotNull HandlerRegistry registry)
true if it succeeded.public void deactivate(@NotNull
@NotNull HandlerRegistry registry)
@Nullable public @Nullable javax.servlet.ServletContext getSharedContext()
@Nullable public @Nullable ExtServletContext getServletContext(@Nullable @Nullable org.osgi.framework.Bundle bundle)
public void ungetServletContext(@NotNull
@NotNull org.osgi.framework.Bundle bundle)
@Nullable public @Nullable PerContextHandlerRegistry getRegistry()
Copyright © 2006–2020 The Apache Software Foundation. All rights reserved.