Snapper 1.0 API

org.enhydra.snapper
Class SnapperAdmin

java.lang.Object
  extended bycom.lutris.appserver.server.StandardApplication
      extended byorg.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 Class Summary
 
Nested classes inherited from class com.lutris.appserver.server.StandardApplication
com.lutris.appserver.server.StandardApplication.ContextMBean
 
Field Summary
protected static java.lang.String documentGroupConfFile
           
protected static boolean forceIndexUnlock
           
protected static boolean indexDiference
           
protected static java.lang.String indexDir
           
protected static java.lang.String indexerClassName
           
static com.lutris.logging.LogChannel log
           
protected static java.lang.String logDirectory
           
protected static int maxFieldLength
           
protected static long maxIndexLength
           
protected static int maxPropertiesLength
           
protected static boolean mountFilePathInContent
           
protected static boolean mountMetaDataInContent
           
protected static boolean mountPropertiesInContent
           
protected static boolean mountTitleInContent
           
protected static java.lang.String pathOfConvertedFiles
           
protected static boolean printStackTrace
           
protected static java.lang.String siteConfFile
           
static java.util.Vector sitesIndexed
           
static java.util.Vector sitesLocked
           
static java.util.Vector sitesUpdated
           
protected static boolean statisticActive
           
protected static java.lang.String statisticDirectory
           
protected static boolean toSaveConvertedFile
           
protected static java.lang.String version
           
 
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
 
Constructor Summary
SnapperAdmin()
           
 
Method Summary
static java.util.Properties getConverterClassNames()
           
static java.lang.String getDocumentGroupConfFile()
           
static boolean getForceIndexUnlock()
           
static java.lang.String getIdexerClassName()
           
static boolean getIndexDiference()
           
static java.lang.String getIndexDir()
           
static boolean getIndexOSspecific()
           
static java.lang.String getLogDirectory()
           
static int getmaxFieldLength()
           
static long getmaxIndexLength()
           
static int getMaxPropertiesLength()
           
static boolean getMountFilePathInContent()
           
static boolean getMountMetaDataInContent()
           
static boolean getMountPropertiesInContent()
           
static boolean getMountTitleInContent()
           
static java.lang.String getSiteConfFile()
           
static java.util.Vector getSitesLocked()
           
static boolean getStatisticActive()
           
static java.lang.String getStatisticDirectory()
           
static void logDebug(java.lang.String message)
           
static void logError(java.lang.String message)
           
static void logInfo(java.lang.String message)
           
static void logWarrning(java.lang.String message)
           
static java.lang.String pathOfConvertedFiles()
           
static boolean printStackTrace()
           
static void removeAllLocked()
           
static void removeSiteLocked(java.lang.String name)
           
 boolean requestPreprocessor(com.lutris.appserver.server.httpPresentation.HttpPresentationComms comms)
           
static void setSiteLocked(java.lang.String name)
           
 void startup(com.lutris.util.Config appConfig)
           
 java.lang.String toHtml()
          This is an optional function, used only by the Multiserver's graphical administration.
static boolean toSaveConvertedFile()
           
 
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
 

Field Detail

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
Constructor Detail

SnapperAdmin

public SnapperAdmin()
Method Detail

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()

Snapper 1.0 API