org.riotfamily.pages.setup
Class SiteFactoryBean

java.lang.Object
  extended by org.riotfamily.pages.setup.SiteFactoryBean
All Implemented Interfaces:
FactoryBean, InitializingBean, ApplicationContextAware

public class SiteFactoryBean
extends Object
implements FactoryBean, InitializingBean, ApplicationContextAware


Constructor Summary
SiteFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
 Object getObject()
           
 Class<?> getObjectType()
           
 boolean isSingleton()
           
 void setApplicationContext(ApplicationContext applicationContext)
           
 void setLocale(Locale locale)
           
 void setPageDao(PageDao pageDao)
           
 void setTransactionManager(PlatformTransactionManager transactionManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SiteFactoryBean

public SiteFactoryBean()
Method Detail

setPageDao

public void setPageDao(PageDao pageDao)

setTransactionManager

public void setTransactionManager(PlatformTransactionManager transactionManager)

setApplicationContext

public void setApplicationContext(ApplicationContext applicationContext)
Specified by:
setApplicationContext in interface ApplicationContextAware

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface InitializingBean
Throws:
Exception

setLocale

public void setLocale(Locale locale)

getObjectType

public Class<?> getObjectType()
Specified by:
getObjectType in interface FactoryBean

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface FactoryBean

getObject

public Object getObject()
                 throws Exception
Specified by:
getObject in interface FactoryBean
Throws:
Exception