gran.app
Class Config

java.lang.Object
  extended bygran.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
           
 
Method Summary
 void checkCommandLineParametres()
          function checks parameters in command line
 java.lang.String getClusterName()
           
 java.lang.String getEncoding()
           
 java.lang.String getForwardEmail()
           
 java.lang.String getIndexDir()
           
static Config getInstance()
           
 java.lang.String getLicenseExpiration()
           
 java.lang.String getLicenseLicensee()
           
 java.lang.String getLicenseProduct()
           
 java.lang.String getLicenseSignature()
           
 java.lang.String getLicenseType()
           
 java.lang.String getLicenseUnits()
           
 java.lang.String getLogoutURL()
           
 javax.mail.Session getSession()
           
 net.sf.hibernate.SessionFactory getSessionFactory()
           
 java.lang.String getSiteURL()
           
 java.lang.String getSkinPath(java.lang.String u)
           
 java.lang.String getUploadDir()
           
 boolean isCluster()
           
 boolean isFormMailNotification()
           
 boolean isForwardUnprocessed()
           
 boolean isSendMail()
           
 boolean isSOAP()
           
static void loadConfig(javax.servlet.ServletContext servletContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

public static final boolean DEBUG
See Also:
Constant Field Values
Method Detail

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.