T - abstract settingpublic abstract class AbstractConfigServlet<T extends Setting>
extends com.google.gwt.user.server.rpc.RemoteServiceServlet
| Modifier and Type | Field and Description |
|---|---|
static String |
CFG_PROP_NAME |
protected StringBuilder |
contextParameters |
protected static String |
FSEP |
protected StringBuilder |
logMessage |
| Constructor and Description |
|---|
AbstractConfigServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
appendFileSeparator(String srcPath) |
protected abstract String |
getConfigDirProperty() |
StringBuilder |
getContextParameters() |
protected abstract String |
getExtConfigDirPath() |
protected abstract String |
getInitParameters() |
protected abstract File |
getInternalSystemConfig() |
protected abstract File |
getInternalUserConfig() |
StringBuilder |
getLogMessage() |
protected abstract AbstractJAXBParser<T> |
getParser() |
protected abstract File |
getSchemaRealPath() |
void |
init() |
protected T |
loadSettings() |
protected abstract T |
mergeResults(Object o1,
Object o2,
String log) |
protected T |
readConfig(File cfgSrc) |
checkPermutationStrongName, doGetSerializationPolicy, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponsedoPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContentdoDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic static String CFG_PROP_NAME
protected static final String FSEP
protected final StringBuilder contextParameters
protected final StringBuilder logMessage
protected abstract String getConfigDirProperty()
public StringBuilder getContextParameters()
protected abstract String getExtConfigDirPath()
protected abstract String getInitParameters()
protected abstract File getInternalSystemConfig() throws Exception
Exceptionprotected abstract File getInternalUserConfig() throws Exception
Exceptionprotected abstract AbstractJAXBParser<T> getParser()
public void init()
throws javax.servlet.ServletException
init in class javax.servlet.GenericServletjavax.servlet.ServletExceptionprotected T loadSettings()
public StringBuilder getLogMessage()
Copyright © 2012–2014 RedSoft. All rights reserved.