Examples of MustBeInitialized


Examples of org.springframework.tests.sample.beans.MustBeInitialized

  /**
   * Test that InitializingBean objects receive the afterPropertiesSet() callback
   */
  public void testInitializingBeanCallback() {
    MustBeInitialized mbi = (MustBeInitialized) getBeanFactory().getBean("mustBeInitialized");
    // The dummy business method will throw an exception if the
    // afterPropertiesSet() callback wasn't invoked
    mbi.businessMethod();
  }
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.