public class OpenAPIRuntime
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
OpenAPIRuntime.Configuration |
| Constructor and Description |
|---|
OpenAPIRuntime() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(BundleContext context,
OpenAPIRuntime.Configuration configuration) |
aQute.openapi.provider.OpenAPIRuntime.Tracker |
add(OpenAPIBase service) |
void |
deactivate() |
java.io.Closeable |
registerServlet(java.lang.String alias,
Servlet servlet)
Used for testing purposes since servlets are registered using the
whiteboard approach.
|
public void activate(BundleContext context,
OpenAPIRuntime.Configuration configuration)
throws ServletException,
NamespaceException
ServletExceptionNamespaceExceptionpublic void deactivate()
throws java.io.IOException
java.io.IOExceptionpublic aQute.openapi.provider.OpenAPIRuntime.Tracker add(OpenAPIBase service)
public java.io.Closeable registerServlet(java.lang.String alias,
Servlet servlet)
throws ServletException,
NamespaceException
alias - servlet - ServletExceptionNamespaceExceptionaQute SARL