Package org.jboss.test.microcontainer.support

Examples of org.jboss.test.microcontainer.support.OverriddenPropertyAnnotatedBean



   private void checkInterceptedAndInjected(String name, String property, SimpleBean dependency)
   {
      InterceptorWithAnnotationDependency.intercepted = null;
      OverriddenPropertyAnnotatedBean bean = (OverriddenPropertyAnnotatedBean) getBean(name);
      assertNotNull(bean);
     
      if (property.equals("A"))
      {
         bean.setPropertyA(5);  
      }
      else if (property.equals("B"))
      {
         bean.setPropertyB(5);  
      }
      else
      {
         throw new RuntimeException("Invalid property passed in");
      }
View Full Code Here

TOP

Related Classes of org.jboss.test.microcontainer.support.OverriddenPropertyAnnotatedBean

Copyright © 2018 www.massapicom. 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.