org.jasig.portal.tools.checks
Class SpringBeanCheck

java.lang.Object
  extended by org.jasig.portal.tools.checks.BaseCheck
      extended by org.jasig.portal.tools.checks.SpringBeanCheck
All Implemented Interfaces:
ICheck, ApplicationContextAware

public class SpringBeanCheck
extends BaseCheck
implements ApplicationContextAware

Check that a particular named Spring bean is defined.

Since:
uPortal 2.5
Version:
$Revision: 19776 $ $Date: 2010-01-14 16:17:21 -0600 (Thu, 14 Jan 2010) $

Field Summary
 
Fields inherited from class org.jasig.portal.tools.checks.BaseCheck
log
 
Constructor Summary
SpringBeanCheck(String beanName)
           
SpringBeanCheck(String beanName, String requiredBeanTypeClassName)
           
 
Method Summary
protected  CheckResult doCheckInternal()
           
 void setApplicationContext(ApplicationContext applicationContext)
           
 
Methods inherited from class org.jasig.portal.tools.checks.BaseCheck
doCheck, getDescription, isFatal, setDescription, setFatal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringBeanCheck

public SpringBeanCheck(String beanName,
                       String requiredBeanTypeClassName)

SpringBeanCheck

public SpringBeanCheck(String beanName)
Method Detail

setApplicationContext

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

doCheckInternal

protected CheckResult doCheckInternal()
Specified by:
doCheckInternal in class BaseCheck
Returns:
The check result


Copyright © 2010 Jasig. All Rights Reserved.