Package org.springframework.beans.factory.support

Examples of org.springframework.beans.factory.support.AbstractBeanDefinition.validate()


  public void validate(IBean bean, IBeansValidationContext context,
      IProgressMonitor monitor) {
    AbstractBeanDefinition bd = (AbstractBeanDefinition) ((Bean) bean)
        .getBeanDefinition();
    try {
      bd.validate();
    } catch (BeanDefinitionValidationException e) {
      context.error(bean, "INVALID_BEAN_DEFINITION",
          "Invalid bean definition: " + e.getMessage());
    }
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.