magoffin.matt.ma2.web.util
Class AppContextInitializer

java.lang.Object
  extended by magoffin.matt.ma2.web.util.AppContextInitializer
All Implemented Interfaces:
org.springframework.context.ApplicationContextAware

public class AppContextInitializer
extends java.lang.Object
implements org.springframework.context.ApplicationContextAware

Initialzie the application AppContextSupport instance.

Version:
$Revision: 43 $ $Date: 2007-10-21 11:10:01 +1300 (Sun, 21 Oct 2007) $
Author:
matt.magoffin

Constructor Summary
AppContextInitializer()
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.String> getApplicationProperties()
           
 DomainObjectFactory getDomainObjectFactory()
           
 void setApplicationContext(org.springframework.context.ApplicationContext context)
           
 void setApplicationProperties(java.util.Map<java.lang.String,java.lang.String> applicationProperties)
           
 void setDomainObjectFactory(DomainObjectFactory domainObjectFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppContextInitializer

public AppContextInitializer()
Method Detail

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext context)
                           throws org.springframework.beans.BeansException
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
Throws:
org.springframework.beans.BeansException

getDomainObjectFactory

public DomainObjectFactory getDomainObjectFactory()
Returns:
the domainObjectFactory

setDomainObjectFactory

public void setDomainObjectFactory(DomainObjectFactory domainObjectFactory)
Parameters:
domainObjectFactory - the domainObjectFactory to set

getApplicationProperties

public java.util.Map<java.lang.String,java.lang.String> getApplicationProperties()
Returns:
the applicationProperties

setApplicationProperties

public void setApplicationProperties(java.util.Map<java.lang.String,java.lang.String> applicationProperties)
Parameters:
applicationProperties - the applicationProperties to set