org.enhydra.snapper
Class SnapperAdmin
java.lang.Object
com.lutris.appserver.server.StandardApplication
org.enhydra.snapper.SnapperAdmin
- All Implemented Interfaces:
- com.lutris.appserver.server.Application
- public class SnapperAdmin
- extends com.lutris.appserver.server.StandardApplication
The application object.
Application-wide data would go here.
Nested classes inherited from class com.lutris.appserver.server.StandardApplication |
com.lutris.appserver.server.StandardApplication.ContextMBean |
Fields inherited from class com.lutris.appserver.server.StandardApplication |
appConfigMBean, appName, config, contextMBean, data, databaseManager, databaseManagerMBean, databaseMBean, defaultUrl, jivanFactory, logChannel, logger, loggerSys, postProcessingManager, preProcessingManager, presentationManager, presentationManagerMBean, sendCookieForNewSession, server, sessionManager, sessionManagerMBean, state, tableMBean, tableMBeans, xmlcFactory |
Fields inherited from interface com.lutris.appserver.server.Application |
DEAD, HALTED, INCOMPLETE, RUNNING, STOPPED |
Methods inherited from class com.lutris.appserver.server.StandardApplication |
createDatabaseManager, createPostProcessingManager, createPreProcessingManager, createSession, createSessionManager, encodeUrl, encodeUrl, ensureSession, getConfig, getDatabaseManager, getHttpPresentationManager, getJivanFactory, getLogChannel, getName, getSessionManager, getState, getXMLCFactory, initDodsAsyncCaches, initDodsAsyncCaches, initializeNewSession, printCopyrightHeader, requestPostProcessor, restartup, servletRequestPreprocessor, setCookieForNewSession, setHttpPresentationManager, setJivanFactory, setLogChannel, setName, setXMLCFactory, shutdown, shutdownWithoutMBeanUnRegistration |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
version
protected static java.lang.String version
indexDir
protected static java.lang.String indexDir
indexerClassName
protected static java.lang.String indexerClassName
mountTitleInContent
protected static boolean mountTitleInContent
mountFilePathInContent
protected static boolean mountFilePathInContent
mountPropertiesInContent
protected static boolean mountPropertiesInContent
mountMetaDataInContent
protected static boolean mountMetaDataInContent
forceIndexUnlock
protected static boolean forceIndexUnlock
indexDiference
protected static boolean indexDiference
maxFieldLength
protected static int maxFieldLength
maxPropertiesLength
protected static int maxPropertiesLength
maxIndexLength
protected static long maxIndexLength
sitesUpdated
public static java.util.Vector sitesUpdated
sitesIndexed
public static java.util.Vector sitesIndexed
sitesLocked
public static java.util.Vector sitesLocked
log
public static com.lutris.logging.LogChannel log
siteConfFile
protected static java.lang.String siteConfFile
documentGroupConfFile
protected static java.lang.String documentGroupConfFile
logDirectory
protected static java.lang.String logDirectory
statisticDirectory
protected static java.lang.String statisticDirectory
statisticActive
protected static boolean statisticActive
pathOfConvertedFiles
protected static java.lang.String pathOfConvertedFiles
toSaveConvertedFile
protected static boolean toSaveConvertedFile
printStackTrace
protected static boolean printStackTrace
SnapperAdmin
public SnapperAdmin()
startup
public void startup(com.lutris.util.Config appConfig)
throws com.lutris.appserver.server.ApplicationException
- Throws:
com.lutris.appserver.server.ApplicationException
requestPreprocessor
public boolean requestPreprocessor(com.lutris.appserver.server.httpPresentation.HttpPresentationComms comms)
throws java.lang.Exception
- Throws:
java.lang.Exception
toHtml
public java.lang.String toHtml()
- This is an optional function, used only by the Multiserver's graphical
administration. This bit of HTML appears in the status page for this
application. You could add extra status info, for example a list of
currently logged in users.
- Returns:
- HTML that is displayed in the status page of the Multiserver.
getIndexDir
public static java.lang.String getIndexDir()
getIdexerClassName
public static java.lang.String getIdexerClassName()
getmaxFieldLength
public static int getmaxFieldLength()
getMaxPropertiesLength
public static int getMaxPropertiesLength()
getmaxIndexLength
public static long getmaxIndexLength()
getSitesLocked
public static java.util.Vector getSitesLocked()
setSiteLocked
public static void setSiteLocked(java.lang.String name)
removeSiteLocked
public static void removeSiteLocked(java.lang.String name)
removeAllLocked
public static void removeAllLocked()
getMountTitleInContent
public static boolean getMountTitleInContent()
getForceIndexUnlock
public static boolean getForceIndexUnlock()
getMountFilePathInContent
public static boolean getMountFilePathInContent()
getMountPropertiesInContent
public static boolean getMountPropertiesInContent()
getMountMetaDataInContent
public static boolean getMountMetaDataInContent()
logDebug
public static void logDebug(java.lang.String message)
logInfo
public static void logInfo(java.lang.String message)
logWarrning
public static void logWarrning(java.lang.String message)
logError
public static void logError(java.lang.String message)
getIndexDiference
public static boolean getIndexDiference()
getLogDirectory
public static java.lang.String getLogDirectory()
getSiteConfFile
public static java.lang.String getSiteConfFile()
getDocumentGroupConfFile
public static java.lang.String getDocumentGroupConfFile()
getStatisticDirectory
public static java.lang.String getStatisticDirectory()
getStatisticActive
public static boolean getStatisticActive()
getIndexOSspecific
public static boolean getIndexOSspecific()
getConverterClassNames
public static java.util.Properties getConverterClassNames()
pathOfConvertedFiles
public static java.lang.String pathOfConvertedFiles()
toSaveConvertedFile
public static boolean toSaveConvertedFile()
printStackTrace
public static boolean printStackTrace()