public interface ServerConfigurator
Modifier and Type | Method and Description |
---|---|
void |
addFilter(FilterDescriptor descriptor)
Adds a filter to the server.
|
void |
addLifecycleListener(ServletContextListenerDescriptor descriptor)
Adds a lifecycle listener to the server.
|
void |
addServlet(ServletDescriptor descriptor)
Adds a servlet to the server.
|
void |
addWepApp(WebApplication descriptor)
Adds a web app to the server.
|
void |
close()
Closes this server configurator and releases resources.
|
int |
initialize(int port)
Initializes this server configurator
|
void |
start()
Starts the server.
|
void |
stop()
Stops the server.
|
int initialize(int port)
port
- the HTTP port to usevoid close()
void start()
void stop()
void addWepApp(WebApplication descriptor)
descriptor
- the descriptorvoid addFilter(FilterDescriptor descriptor)
descriptor
- the descriptorvoid addServlet(ServletDescriptor descriptor)
descriptor
- the descriptorvoid addLifecycleListener(ServletContextListenerDescriptor descriptor)
descriptor
- the descriptorCopyright © 2019 Nuxeo. All rights reserved.