Code example for AbstractBeanDefinition

Methods: getBeanClass

   *          the expected class of the wrapped bean 
  public static void assertBeanDefinitionWrapsClass( 
      AbstractBeanDefinition beanDefinition, Class expectedClass) {
    Assert.assertEquals("<Bean definition class>", expectedClass,
   * Asserts that both <code>{@link RuntimeBeanReference}</code> have the same 
   * target bean name. 
   * @param message 
   *          message to be displayed if this assertion is <code>false</code> 
   * @param expected 
   *          the runtime bean reference containing the expected target bean 
   *          name 
   * @param actual 
   *          the runtime bean reference containing the actual target bean name 
Contextual code suggestions in your IDE  Get Codota for Java