uk.ac.ebi.intenz.webapp
Class IntEnzConfig

java.lang.Object
  extended by uk.ac.ebi.intenz.webapp.IntEnzConfig
All Implemented Interfaces:
IntEnzConfigMBean

public class IntEnzConfig
extends Object
implements IntEnzConfigMBean


Nested Class Summary
static class IntEnzConfig.Property
          Configuration properties.
 
Field Summary
protected  PropertyChangeSupport pcs
           
 
Method Summary
 void addPropertyChangeListener(String propName, PropertyChangeListener pcl)
           
 String getContactMailSubject()
           
 String getContactMailTo()
           
 String getErrorMailSubject()
           
 String getErrorMailTo()
           
static IntEnzConfig getInstance()
           
 String getIntEnzConfigMbeanName()
           
 String getIntEnzDataSource()
           
 String getMailFrom()
           
 Properties getMailProperties()
           
 String getMailSmtpHost()
           
 String getPageSize()
           
 long getRssRefresh()
           
 String getRssUrl()
           
 String getSitemapUrl()
           
 String getTemplatesUrl()
           
 String getXmlUrl()
           
 void removePropertyChangeListener(String prop, PropertyChangeListener pcl)
           
 void setContactMailSubject(String mailSubject)
           
 void setContactMailTo(String mailTo)
           
 void setErrorMailSubject(String mailSubject)
           
 void setErrorMailTo(String mailTo)
           
 void setIntEnzDataSource(String intEnzDataSource)
           
 void setMailFrom(String mailFrom)
           
 void setMailSmtpHost(String mailSmtpHost)
           
 void setPageSize(String pageSize)
           
 void setRssRefresh(long fr)
           
 void setRssUrl(String rssUrl)
           
 void setSitemapUrl(String sitemapUrl)
           
 void setTemplatesUrl(String templatesUrl)
           
 void setXmlUrl(String xmlUrl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pcs

protected PropertyChangeSupport pcs
Method Detail

getInstance

public static IntEnzConfig getInstance()
                                throws IOException
Throws:
IOException

getIntEnzDataSource

public String getIntEnzDataSource()
Specified by:
getIntEnzDataSource in interface IntEnzConfigMBean

setIntEnzDataSource

public void setIntEnzDataSource(String intEnzDataSource)
Specified by:
setIntEnzDataSource in interface IntEnzConfigMBean

getIntEnzConfigMbeanName

public String getIntEnzConfigMbeanName()

getRssUrl

public String getRssUrl()
Specified by:
getRssUrl in interface IntEnzConfigMBean

setRssUrl

public void setRssUrl(String rssUrl)
Specified by:
setRssUrl in interface IntEnzConfigMBean

getRssRefresh

public long getRssRefresh()
Specified by:
getRssRefresh in interface IntEnzConfigMBean

setRssRefresh

public void setRssRefresh(long fr)
Specified by:
setRssRefresh in interface IntEnzConfigMBean

getXmlUrl

public String getXmlUrl()
Specified by:
getXmlUrl in interface IntEnzConfigMBean

setXmlUrl

public void setXmlUrl(String xmlUrl)
Specified by:
setXmlUrl in interface IntEnzConfigMBean

getSitemapUrl

public String getSitemapUrl()
Specified by:
getSitemapUrl in interface IntEnzConfigMBean

setSitemapUrl

public void setSitemapUrl(String sitemapUrl)
Specified by:
setSitemapUrl in interface IntEnzConfigMBean

getMailProperties

public Properties getMailProperties()

getMailSmtpHost

public String getMailSmtpHost()
Specified by:
getMailSmtpHost in interface IntEnzConfigMBean

setMailSmtpHost

public void setMailSmtpHost(String mailSmtpHost)
Specified by:
setMailSmtpHost in interface IntEnzConfigMBean

getMailFrom

public String getMailFrom()
Specified by:
getMailFrom in interface IntEnzConfigMBean

setMailFrom

public void setMailFrom(String mailFrom)
Specified by:
setMailFrom in interface IntEnzConfigMBean

getContactMailTo

public String getContactMailTo()
Specified by:
getContactMailTo in interface IntEnzConfigMBean

setContactMailTo

public void setContactMailTo(String mailTo)
Specified by:
setContactMailTo in interface IntEnzConfigMBean

getContactMailSubject

public String getContactMailSubject()
Specified by:
getContactMailSubject in interface IntEnzConfigMBean

setContactMailSubject

public void setContactMailSubject(String mailSubject)
Specified by:
setContactMailSubject in interface IntEnzConfigMBean

getErrorMailTo

public String getErrorMailTo()
Specified by:
getErrorMailTo in interface IntEnzConfigMBean

setErrorMailTo

public void setErrorMailTo(String mailTo)
Specified by:
setErrorMailTo in interface IntEnzConfigMBean

getErrorMailSubject

public String getErrorMailSubject()
Specified by:
getErrorMailSubject in interface IntEnzConfigMBean

setErrorMailSubject

public void setErrorMailSubject(String mailSubject)
Specified by:
setErrorMailSubject in interface IntEnzConfigMBean

getPageSize

public String getPageSize()
Specified by:
getPageSize in interface IntEnzConfigMBean

setPageSize

public void setPageSize(String pageSize)
Specified by:
setPageSize in interface IntEnzConfigMBean

getTemplatesUrl

public String getTemplatesUrl()
Specified by:
getTemplatesUrl in interface IntEnzConfigMBean

setTemplatesUrl

public void setTemplatesUrl(String templatesUrl)
Specified by:
setTemplatesUrl in interface IntEnzConfigMBean

addPropertyChangeListener

public void addPropertyChangeListener(String propName,
                                      PropertyChangeListener pcl)

removePropertyChangeListener

public void removePropertyChangeListener(String prop,
                                         PropertyChangeListener pcl)


Copyright © 2013 EMBL-EBI. All Rights Reserved.