gran.app
Class Config
java.lang.Object
gran.app.Config
- All Implemented Interfaces:
- java.io.Serializable
- public class Config
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Field Summary |
static boolean |
DEBUG
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEBUG
public static final boolean DEBUG
- See Also:
- Constant Field Values
getInstance
public static Config getInstance()
loadConfig
public static void loadConfig(javax.servlet.ServletContext servletContext)
throws GranException
- Throws:
GranException
getSession
public javax.mail.Session getSession()
throws GranException
- Throws:
GranException
getEncoding
public java.lang.String getEncoding()
isFormMailNotification
public boolean isFormMailNotification()
isSendMail
public boolean isSendMail()
isForwardUnprocessed
public boolean isForwardUnprocessed()
getForwardEmail
public java.lang.String getForwardEmail()
getUploadDir
public java.lang.String getUploadDir()
getIndexDir
public java.lang.String getIndexDir()
getSiteURL
public java.lang.String getSiteURL()
getClusterName
public java.lang.String getClusterName()
getLogoutURL
public java.lang.String getLogoutURL()
isCluster
public boolean isCluster()
isSOAP
public boolean isSOAP()
getSkinPath
public java.lang.String getSkinPath(java.lang.String u)
throws GranException
- Throws:
GranException
getSessionFactory
public net.sf.hibernate.SessionFactory getSessionFactory()
throws GranException,
net.sf.hibernate.HibernateException
- Throws:
GranException
net.sf.hibernate.HibernateException
getLicenseProduct
public java.lang.String getLicenseProduct()
getLicenseExpiration
public java.lang.String getLicenseExpiration()
getLicenseLicensee
public java.lang.String getLicenseLicensee()
getLicenseUnits
public java.lang.String getLicenseUnits()
getLicenseSignature
public java.lang.String getLicenseSignature()
getLicenseType
public java.lang.String getLicenseType()
checkCommandLineParametres
public void checkCommandLineParametres()
throws GranException
- function checks parameters in command line
- Throws:
GranException
Copyright © 2002-2004 TrackStudio, Ltd. All Rights Reserved.