public abstract class EnvServlet extends AbstractServlet
Created by Jeff Gaynor
on 10/6/16 at 11:43 AM
Modifier and Type | Field and Description |
---|---|
static boolean |
storeUpdatesDone |
environment, initialization, PING_PARAMETER
Constructor and Description |
---|
EnvServlet() |
Modifier and Type | Method and Description |
---|---|
void |
loadEnvironment()
Loads the current environment.
|
ServiceEnvironmentImpl |
loadProperties2() |
void |
processStoreCheck(Store store) |
abstract void |
storeUpdates()
This will be invoked at init before anything else and should include code to seamlessly upgrade stores from earlier versions.
|
CONST, debug, doGet, doIt, doPing, doPost, error, getConfigurationLoader, getEnvironment, getExceptionHandler, getFirstParameterValue, getInitialization, getMyLogger, handleException, info, init, isDebugOn, printAllParameters, resetState, setConfigurationLoader, setDebugOn, setEnvironment, setExceptionHandler, setInitialization, warn
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public ServiceEnvironmentImpl loadProperties2() throws IOException
IOException
public void loadEnvironment() throws IOException
AbstractServlet
loadEnvironment
in class AbstractServlet
IOException
public abstract void storeUpdates() throws IOException, SQLException
storeUpdatesDone
which should be
checks in overrides. If you override this method and call super, let super manage this flag. If it is true, do not
execute your method.IOException
SQLException
public void processStoreCheck(Store store) throws SQLException
SQLException
Copyright © 2019. All Rights Reserved.