org.sakaiproject.metaobj.utils
Class Config

java.lang.Object
  extended byorg.sakaiproject.metaobj.utils.Config
All Implemented Interfaces:
InitializingBean

public class Config
extends Object
implements InitializingBean

Created by IntelliJ IDEA. User: John Ellis Date: May 19, 2004 Time: 10:33:49 AM To change this template use File | Settings | File Templates.


Constructor Summary
Config()
           
 
Method Summary
 void afterPropertiesSet()
          Invoked by a BeanFactory after it has set all bean properties supplied (and satisfied BeanFactoryAware and ApplicationContextAware).
static Config getInstance()
           
 Properties getProperties()
           
 void setProperties(Properties properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Config

public Config()
Method Detail

getInstance

public static Config getInstance()

getProperties

public Properties getProperties()

setProperties

public void setProperties(Properties properties)

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Invoked by a BeanFactory after it has set all bean properties supplied (and satisfied BeanFactoryAware and ApplicationContextAware).

This method allows the bean instance to perform initialization only possible when all bean properties have been set and to throw an exception in the event of misconfiguration.

Specified by:
afterPropertiesSet in interface InitializingBean
Throws:
Exception - in the event of misconfiguration (such as failure to set an essential property) or if initialization fails.