public final class MetadataServerModule extends HTTPModule.Abstract
HTTPModule.Abstract, HTTPModule.Context
Modifier and Type | Field and Description |
---|---|
static String |
CONFIG_PROCESSOR_PROPERTY
The shared processor configuration indicator property.
|
static String |
CONFIG_STORE_PROPERTY
The shared store configuration indicator property.
|
static String |
DEFAULT_PATH
Default path.
|
static String |
GET_PATH
Get path.
|
static String |
METADATA_CONTEXT_ATTRIBUTE
Metadata context attribute.
|
static String |
METADATA_PATH_PROPERTY
The Metadata file path relative to the document version workspace
directory.
|
static String |
METADATA_PROPERTIES
Properties holding the metadata configuration.
|
static String |
RELOAD_METADATA_SIGNAL
Reload metadata signal.
|
static String |
TRIGGER_REFRESH_PROPERTY
When true, a successful metadata reload by the Metadata Server module
will trigger a 'RefreshMetadata' signal.
|
MODULE_UUID_PROPERTY
Constructor and Description |
---|
MetadataServerModule()
Constructs an instance.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addServlets(Map<String,String> servlets)
Adds the servlets to the servlets map.
|
void |
doEventActions(Event event)
Does event actions.
|
void |
doPendingActions()
Does pending actions.
|
void |
doSignalActions(Signal signal)
Does signal actions.
|
String |
getDefaultPath()
Gets the default path for this module.
|
void |
prepareServletContext(ServletContext servletContext)
Prepares the servlet context.
|
boolean |
setUp(KeyedGroups contextProperties)
Sets up the server module.
|
void |
tearDown()
Tears down what has been set up.
|
callbackForEventActions, callbackForPendingActions, callbackForSignalActions, getConfig, getMetadata, getService, getThisLogger, loadMetadata, needsMetadata, setRestartEnabled, setUp
public static final String CONFIG_PROCESSOR_PROPERTY
public static final String CONFIG_STORE_PROPERTY
public static final String DEFAULT_PATH
public static final String GET_PATH
public static final String METADATA_CONTEXT_ATTRIBUTE
public static final String METADATA_PATH_PROPERTY
public static final String METADATA_PROPERTIES
public static final String RELOAD_METADATA_SIGNAL
public static final String TRIGGER_REFRESH_PROPERTY
public void doEventActions(Event event)
doEventActions
in interface HTTPModule
doEventActions
in class HTTPModule.Abstract
event
- The event.public void doPendingActions()
doPendingActions
in interface HTTPModule
doPendingActions
in class HTTPModule.Abstract
public void doSignalActions(Signal signal)
doSignalActions
in interface HTTPModule
doSignalActions
in class HTTPModule.Abstract
signal
- The signal.public String getDefaultPath()
public void prepareServletContext(ServletContext servletContext)
prepareServletContext
in interface HTTPModule
prepareServletContext
in class HTTPModule.Abstract
servletContext
- The servlet context.public boolean setUp(KeyedGroups contextProperties)
setUp
in class HTTPModule.Abstract
contextProperties
- The context properties.public void tearDown()
tearDown
in interface HTTPModule
tearDown
in class HTTPModule.Abstract
protected void addServlets(Map<String,String> servlets)
addServlets
in class HTTPModule.Abstract
servlets
- The servlets map.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.