org.springmodules.validation.util.context
Class BasicContextAware

java.lang.Object
  extended by org.springmodules.validation.util.context.BasicContextAware
All Implemented Interfaces:
ContextAware
Direct Known Subclasses:
SimpleValangBased, SimpleValidationRuleElementHandlerRegistry

public class BasicContextAware
extends java.lang.Object
implements ContextAware

Author:
Uri Boness

Field Summary
protected  ApplicationContext applicationContext
           
protected  ApplicationEventPublisher applicationEventPublisher
           
protected  BeanFactory beanFactory
           
protected  MessageSource messageSource
           
protected  ResourceLoader resourceLoader
           
protected  ServletContext servletContext
           
 
Constructor Summary
BasicContextAware()
           
 
Method Summary
protected  void initLifecycle(BasicContextAware object)
           
protected  void initLifecycle(java.lang.Object object)
           
 void setApplicationContext(ApplicationContext applicationContext)
           
 void setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher)
           
 void setBeanFactory(BeanFactory beanFactory)
           
 void setMessageSource(MessageSource messageSource)
           
 void setResourceLoader(ResourceLoader resourceLoader)
           
 void setServletContext(ServletContext servletContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

applicationContext

protected ApplicationContext applicationContext

beanFactory

protected BeanFactory beanFactory

resourceLoader

protected ResourceLoader resourceLoader

messageSource

protected MessageSource messageSource

servletContext

protected ServletContext servletContext

applicationEventPublisher

protected ApplicationEventPublisher applicationEventPublisher
Constructor Detail

BasicContextAware

public BasicContextAware()
Method Detail

setApplicationContext

public void setApplicationContext(ApplicationContext applicationContext)
                           throws BeansException
Throws:
BeansException

setBeanFactory

public void setBeanFactory(BeanFactory beanFactory)
                    throws BeansException
Throws:
BeansException

setResourceLoader

public void setResourceLoader(ResourceLoader resourceLoader)

setMessageSource

public void setMessageSource(MessageSource messageSource)

setServletContext

public void setServletContext(ServletContext servletContext)

setApplicationEventPublisher

public void setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher)

initLifecycle

protected void initLifecycle(BasicContextAware object)

initLifecycle

protected void initLifecycle(java.lang.Object object)


Copyright © 2005. All Rights Reserved.