org.jasig.portal.tools.checks
Class SpringBeanCheck
java.lang.Object
org.jasig.portal.tools.checks.BaseCheck
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) $
| Fields inherited from class org.jasig.portal.tools.checks.BaseCheck |
log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringBeanCheck
public SpringBeanCheck(String beanName,
String requiredBeanTypeClassName)
SpringBeanCheck
public SpringBeanCheck(String beanName)
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.