[jboss-cvs] aop-mc-int/src/resources/tests/org/jboss/test/microcontainer/test ...

Kabir Khan kkhan at jboss.com
Tue Jul 11 09:36:37 EDT 2006


  User: kkhan   
  Date: 06/07/11 09:36:37

  Added:       src/resources/tests/org/jboss/test/microcontainer/test    
                        InterceptorWithNestedAnnotationDependencyTestCaseNotAutomatic2.xml
                        InterceptorWithNestedAnnotationDependencyTestCaseNotAutomatic0.xml
                        InterceptorWithNestedAnnotationDependencyTestCaseNotAutomatic1.xml
                        InterceptorWithNestedAnnotationDependencyTestCaseNotAutomatic3.xml
  Log:
  [JBAOP-239] Tests for dependencies coming from nested annotations on class
  
  Revision  Changes    Path
  1.1      date: 2006/07/11 13:36:37;  author: kkhan;  state: Exp;aop-mc-int/src/resources/tests/org/jboss/test/microcontainer/test/InterceptorWithNestedAnnotationDependencyTestCaseNotAutomatic2.xml
  
  Index: InterceptorWithNestedAnnotationDependencyTestCaseNotAutomatic2.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  
  <deployment xmlns="urn:jboss:bean-deployer:2.0">
  
     <bean name="Dependency3" class="org.jboss.test.microcontainer.support.SimpleBeanImpl"/>
  
  </deployment>
  
  
  
  1.1      date: 2006/07/11 13:36:37;  author: kkhan;  state: Exp;aop-mc-int/src/resources/tests/org/jboss/test/microcontainer/test/InterceptorWithNestedAnnotationDependencyTestCaseNotAutomatic0.xml
  
  Index: InterceptorWithNestedAnnotationDependencyTestCaseNotAutomatic0.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  
  <deployment xmlns="urn:jboss:bean-deployer:2.0">
              
     <bean name="Dependency1" class="org.jboss.test.microcontainer.support.SimpleBeanImpl"/>
  
  </deployment>
  
  
  
  1.1      date: 2006/07/11 13:36:37;  author: kkhan;  state: Exp;aop-mc-int/src/resources/tests/org/jboss/test/microcontainer/test/InterceptorWithNestedAnnotationDependencyTestCaseNotAutomatic1.xml
  
  Index: InterceptorWithNestedAnnotationDependencyTestCaseNotAutomatic1.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  
  <deployment xmlns="urn:jboss:bean-deployer:2.0">
  
     <bean name="Dependency2" class="org.jboss.test.microcontainer.support.SimpleBeanImpl"/>
  
  </deployment>
  
  
  
  1.1      date: 2006/07/11 13:36:37;  author: kkhan;  state: Exp;aop-mc-int/src/resources/tests/org/jboss/test/microcontainer/test/InterceptorWithNestedAnnotationDependencyTestCaseNotAutomatic3.xml
  
  Index: InterceptorWithNestedAnnotationDependencyTestCaseNotAutomatic3.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  
  <deployment xmlns="urn:jboss:bean-deployer:2.0">
  
     <bean name="Repository" class="org.jboss.aop.microcontainer.integration.AOPKernelRepository">
        <constructor factoryClass="org.jboss.aop.microcontainer.integration.AOPKernelRepository" factoryMethod="instance"/>
     </bean>
  
     <aop:aspect xmlns:aop="urn:jboss:aop-beans:1.0"
                 name="InterceptedAdvice" 
                 class="org.jboss.test.microcontainer.support.InterceptorWithNestedAnnotationDependency"
                 pointcut="execution(* @org.jboss.test.microcontainer.support.Test->*(..))">
        <property name="controller"><inject bean="jboss.kernel:service=KernelController"/></property>
     </aop:aspect>
              
              <!--
     <bean name="Intercepted" class="org.jboss.test.microcontainer.support.SimpleBeanImpl">
        <annotation name="org.jboss.test.microcontainer.support.Test"/>
     </bean>
     -->
     <bean name="AnnotatedIntercepted" class="org.jboss.test.microcontainer.support.NestedAnnotatedSimpleBeanImpl">
        <annotation name="org.jboss.test.microcontainer.support.Test"/>
     </bean>
     </deployment>
  
  
  



More information about the jboss-cvs-commits mailing list