[jboss-cvs] JBossAS SVN: r73086 - in trunk/testsuite: imports/sections and 9 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue May 6 14:02:12 EDT 2008


Author: kabir.khan at jboss.com
Date: 2008-05-06 14:02:11 -0400 (Tue, 06 May 2008)
New Revision: 73086

Added:
   trunk/testsuite/src/main/org/jboss/test/aop/proxycache/
   trunk/testsuite/src/main/org/jboss/test/aop/proxycache/CreateProxyTester.java
   trunk/testsuite/src/main/org/jboss/test/aop/proxycache/CreateProxyTesterMBean.java
   trunk/testsuite/src/main/org/jboss/test/aop/proxycache/GlobalClass.java
   trunk/testsuite/src/main/org/jboss/test/aop/proxycache/GlobalInterface.java
   trunk/testsuite/src/main/org/jboss/test/aop/proxycache/NullInterceptor.java
   trunk/testsuite/src/main/org/jboss/test/aop/test/ProxyCacheTestCase.java
   trunk/testsuite/src/resources/aop/proxycache/
   trunk/testsuite/src/resources/aop/proxycache/aspects/
   trunk/testsuite/src/resources/aop/proxycache/aspects/META-INF/
   trunk/testsuite/src/resources/aop/proxycache/aspects/META-INF/jboss-aop.xml
   trunk/testsuite/src/resources/aop/proxycache/global/
   trunk/testsuite/src/resources/aop/proxycache/global/META-INF/
   trunk/testsuite/src/resources/aop/proxycache/global/META-INF/jboss-service.xml
Modified:
   trunk/testsuite/build.xml
   trunk/testsuite/imports/sections/aop.xml
Log:
[JBAS-5505] Add test for container and class proxy clasloaders

Modified: trunk/testsuite/build.xml
===================================================================
--- trunk/testsuite/build.xml	2008-05-06 17:54:43 UTC (rev 73085)
+++ trunk/testsuite/build.xml	2008-05-06 18:02:11 UTC (rev 73086)
@@ -834,7 +834,9 @@
    <!-- Tests that are currently broken -->
    <patternset id="badtest.excludes">
       <exclude name="org/jboss/test/aop/test/RemotingUnitTestCase"/>
-      <exclude name="org/jboss/test/aop/test/MicrocontainerJMXUnitTestCase"/>
+   	<exclude name="org/jboss/test/aop/test/MicrocontainerJMXUnitTestCase"/>
+   	<exclude name="org/jboss/test/aop/test/ProxyCacheTestCase"/>
+   	        
       <!-- Needs apache ? -->
       <exclude name="org/jboss/test/cluster/httpsessionreplication/**" />
       <exclude name="org/jboss/test/cache/test/local/ConcurrentTransactionalUnitTestCase.class" />

Modified: trunk/testsuite/imports/sections/aop.xml
===================================================================
--- trunk/testsuite/imports/sections/aop.xml	2008-05-06 17:54:43 UTC (rev 73085)
+++ trunk/testsuite/imports/sections/aop.xml	2008-05-06 18:02:11 UTC (rev 73086)
@@ -225,7 +225,6 @@
 		<jar destfile="${build.lib}/aop-mc-jmxtest.jar">
 			<fileset dir="${build.classes}">
 				<include name="org/jboss/test/aop/mcjmx/*.class"/>
-				<exclude name="org/jboss/test/aop/mcjmx/*Dependency.class"/>
 			</fileset>
          <fileset dir="${build.resources}/aop/mcjmx">
 				<include name="META-INF/jboss-beans.xml"/>
@@ -241,9 +240,6 @@
 			</fileset>
 		</jar>
 		<jar destfile="${build.lib}/aop-mc-jmxtest-dependency.jar">
-			<fileset dir="${build.classes}">
-				<include name="org/jboss/test/aop/mcjmx/Dependency.class"/>
-			</fileset>
          <fileset dir="${build.resources}/aop/mcjmx">
 				<include name="META-INF/dependency-beans.xml"/>
 			</fileset>
@@ -576,6 +572,50 @@
         </fileset>
      </jar>
 	   
+     
+
+     <!-- create jars for proxycache test -->
+
+     <jar destfile="${build.lib}/aop-proxycache.aop">
+
+        <fileset dir="${build.classes}">
+
+           <include name="org/jboss/test/aop/proxycache/NullInterceptor.class"/>
+
+        </fileset>
+
+        <fileset dir="${build.resources}/aop/proxycache/aspects">
+
+           <include name="**/*.xml"/>
+
+        </fileset>
+
+     </jar>
+
+     
+
+     <jar destfile="${build.lib}/aop-proxycache-global.sar">
+
+        <fileset dir="${build.classes}">
+
+           <include name="org/jboss/test/aop/proxycache/CreateProxyTester*.class"/>
+
+           <include name="org/jboss/test/aop/proxycache/GlobalClass.class"/>
+
+           <include name="org/jboss/test/aop/proxycache/GlobalInterface.class"/>
+
+        </fileset>
+
+        <fileset dir="${build.resources}/aop/proxycache/global">
+
+           <include name="**/*.xml"/>
+
+        </fileset>
+
+     </jar>
+
+
+	   
       <!-- ok, we have created the loadtime jars, let us now precompile the classes for standalone test  -->
       <!--
       <aopc compilerclasspathref="aop.task.classpath">
@@ -600,4 +640,5 @@
          <include name="org/jboss/test/aop/bean/AnnotatedTxLockedPOJO.java"/>
       </annotationc>
    </target>
+
 </project>

Added: trunk/testsuite/src/main/org/jboss/test/aop/proxycache/CreateProxyTester.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/aop/proxycache/CreateProxyTester.java	                        (rev 0)
+++ trunk/testsuite/src/main/org/jboss/test/aop/proxycache/CreateProxyTester.java	2008-05-06 18:02:11 UTC (rev 73086)
@@ -0,0 +1,160 @@
+/*
+* JBoss, Home of Professional Open Source.
+* Copyright 2006, Red Hat Middleware LLC, and individual contributors
+* as indicated by the @author tags. See the copyright.txt file in the
+* distribution for a full listing of individual contributors. 
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/ 
+package org.jboss.test.aop.proxycache;
+
+import java.util.Collections;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Map;
+
+import org.jboss.aop.proxy.ClassProxyFactory;
+import org.jboss.aop.proxy.ProxyMixin;
+import org.jboss.aop.proxy.container.AOPProxyFactoryParameters;
+import org.jboss.aop.proxy.container.AspectManaged;
+import org.jboss.aop.proxy.container.GeneratedAOPProxyFactory;
+import org.jboss.logging.Logger;
+
+/**
+ * 
+ * @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
+ * @version $Revision: 1.1 $
+ */
+public class CreateProxyTester implements CreateProxyTesterMBean
+{
+   Logger log = Logger.getLogger(CreateProxyTester.class);
+   
+   public int createContainerProxy(String className, String[] interfaceNames) throws Exception
+   {
+      try
+      {
+         log.info("==== createContainerProxy()");
+         log.info("TCL " + Thread.currentThread().getContextClassLoader());
+
+         Class<?> clazz = this.getClass().getClassLoader().loadClass(className);
+
+         log.info("class loader " + clazz.getName() + " " + clazz.getClassLoader());
+
+         Object object = clazz.newInstance();      
+         Class<?>[] interfaces = new Class[interfaceNames.length];
+         for (int i = 0 ; i < interfaceNames.length ; i++)
+         {
+            interfaces[i] = this.getClass().getClassLoader().loadClass(interfaceNames[i]);
+            log.info("interface " + interfaces[i] + " " + interfaces[i].getClassLoader());
+         }
+         
+         AOPProxyFactoryParameters params = new AOPProxyFactoryParameters();
+         params.setTarget(object);
+         params.setInterfaces(interfaces);
+
+         GeneratedAOPProxyFactory factory = new GeneratedAOPProxyFactory();
+         Object proxy = factory.createAdvisedProxy(params);
+         
+         if (proxy instanceof AspectManaged == false)
+         {
+            throw new RuntimeException("Proxy is not a proxy " + proxy.getClass().getName());
+         }
+         
+         log.info("proxy loader " + proxy.getClass() + " " + proxy.getClass().getClassLoader());
+
+         if (proxy.getClass().getSuperclass() != clazz)
+         {
+            throw new RuntimeException("Wrong superclass " + proxy.getClass().getSuperclass() + " expected " + clazz);
+         }
+         
+         if (interfaces.length > 0)
+         {
+            HashSet<Class<?>> ifs = new HashSet<Class<?>>(); 
+            Collections.addAll(ifs, interfaces);
+            for (Class<?> iface : ifs)
+            {
+               if (!ifs.contains(iface))
+               {
+                  throw new RuntimeException("Could not find the interface " + iface);
+               }
+            }
+         }
+         
+         return System.identityHashCode(proxy.getClass());
+      }
+      catch (Exception e)
+      {
+         e.printStackTrace();
+         throw e;
+      }
+   }
+   
+   public int createClassProxy(String className, Map<String, List<String>> mixins) throws Exception
+   {
+      try
+      {
+         log.info("==== createClassProxy()");
+         log.info("TCL " + Thread.currentThread().getContextClassLoader());
+
+         Class<?> clazz = this.getClass().getClassLoader().loadClass(className);
+         log.info("Class.getCLassLoader() " + clazz.getName() + " " + clazz.getClassLoader());
+
+         ProxyMixin[] proxyMixins = createMixins(mixins);
+
+         Object proxy = ClassProxyFactory.newInstance(clazz, proxyMixins);
+         
+         log.info("proxy loader " + proxy.getClass() + " " + proxy.getClass().getClassLoader());
+
+         return System.identityHashCode(proxy.getClass());
+      }
+      catch (Exception e)
+      {
+         e.printStackTrace();
+         throw e;
+      }
+   }
+   
+   private ProxyMixin[] createMixins(Map<String, List<String>> mixins) throws Exception
+   {
+      if (mixins == null)
+      {
+         return null;
+      }
+      ProxyMixin[] proxyMixins = new ProxyMixin[mixins.size()];
+      
+      int i = 0;
+      for (String mixinName : mixins.keySet())
+      {
+         Class<?> mixinClass = this.getClass().getClassLoader().loadClass(mixinName);
+         log.info("mixin class loader " + mixinClass.getClass() + " " + mixinClass.getClass().getClassLoader());
+         Object mixin = mixinClass.newInstance();
+         
+         List<String> mixinInterfaces = mixins.get(mixinName);
+         Class<?>[] interfaces = new Class<?>[mixinInterfaces.size()];
+         int j = 0;
+         for (String interfaceName : mixinInterfaces)
+         {
+            Class<?> iface = this.getClass().getClassLoader().loadClass(interfaceName); 
+            log.info("iface class loader " + iface.getClass() + " " + iface.getClass().getClassLoader());
+            interfaces[j++] = iface;
+         }
+            
+         proxyMixins[i++] = new ProxyMixin(mixin, interfaces);
+      }
+      
+      return proxyMixins;
+   }
+}


Property changes on: trunk/testsuite/src/main/org/jboss/test/aop/proxycache/CreateProxyTester.java
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/testsuite/src/main/org/jboss/test/aop/proxycache/CreateProxyTesterMBean.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/aop/proxycache/CreateProxyTesterMBean.java	                        (rev 0)
+++ trunk/testsuite/src/main/org/jboss/test/aop/proxycache/CreateProxyTesterMBean.java	2008-05-06 18:02:11 UTC (rev 73086)
@@ -0,0 +1,36 @@
+/*
+* JBoss, Home of Professional Open Source.
+* Copyright 2006, Red Hat Middleware LLC, and individual contributors
+* as indicated by the @author tags. See the copyright.txt file in the
+* distribution for a full listing of individual contributors. 
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/ 
+package org.jboss.test.aop.proxycache;
+
+import java.util.List;
+import java.util.Map;
+
+/**
+ * 
+ * @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
+ * @version $Revision: 1.1 $
+ */
+public interface  CreateProxyTesterMBean
+{
+   int createContainerProxy(String clazz, String[] interfaces) throws Exception;   
+   int createClassProxy(String className, Map<String, List<String>> mixins) throws Exception;
+}


Property changes on: trunk/testsuite/src/main/org/jboss/test/aop/proxycache/CreateProxyTesterMBean.java
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/testsuite/src/main/org/jboss/test/aop/proxycache/GlobalClass.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/aop/proxycache/GlobalClass.java	                        (rev 0)
+++ trunk/testsuite/src/main/org/jboss/test/aop/proxycache/GlobalClass.java	2008-05-06 18:02:11 UTC (rev 73086)
@@ -0,0 +1,32 @@
+/*
+* JBoss, Home of Professional Open Source.
+* Copyright 2006, Red Hat Middleware LLC, and individual contributors
+* as indicated by the @author tags. See the copyright.txt file in the
+* distribution for a full listing of individual contributors. 
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/ 
+package org.jboss.test.aop.proxycache;
+
+/**
+ * 
+ * @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
+ * @version $Revision: 1.1 $
+ */
+public class GlobalClass
+{
+   void method() {}
+}


Property changes on: trunk/testsuite/src/main/org/jboss/test/aop/proxycache/GlobalClass.java
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/testsuite/src/main/org/jboss/test/aop/proxycache/GlobalInterface.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/aop/proxycache/GlobalInterface.java	                        (rev 0)
+++ trunk/testsuite/src/main/org/jboss/test/aop/proxycache/GlobalInterface.java	2008-05-06 18:02:11 UTC (rev 73086)
@@ -0,0 +1,32 @@
+/*
+* JBoss, Home of Professional Open Source.
+* Copyright 2006, Red Hat Middleware LLC, and individual contributors
+* as indicated by the @author tags. See the copyright.txt file in the
+* distribution for a full listing of individual contributors. 
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/ 
+package org.jboss.test.aop.proxycache;
+
+/**
+ * 
+ * @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
+ * @version $Revision: 1.1 $
+ */
+public interface GlobalInterface
+{
+   void someMethod();
+}


Property changes on: trunk/testsuite/src/main/org/jboss/test/aop/proxycache/GlobalInterface.java
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/testsuite/src/main/org/jboss/test/aop/proxycache/NullInterceptor.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/aop/proxycache/NullInterceptor.java	                        (rev 0)
+++ trunk/testsuite/src/main/org/jboss/test/aop/proxycache/NullInterceptor.java	2008-05-06 18:02:11 UTC (rev 73086)
@@ -0,0 +1,45 @@
+/*
+* JBoss, Home of Professional Open Source.
+* Copyright 2006, Red Hat Middleware LLC, and individual contributors
+* as indicated by the @author tags. See the copyright.txt file in the
+* distribution for a full listing of individual contributors. 
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/ 
+package org.jboss.test.aop.proxycache;
+
+import org.jboss.aop.advice.Interceptor;
+import org.jboss.aop.joinpoint.Invocation;
+
+/**
+ * 
+ * @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
+ * @version $Revision: 1.1 $
+ */
+public class NullInterceptor implements Interceptor
+{
+
+   public String getName()
+   {
+      return null;
+   }
+
+   public Object invoke(Invocation arg0) throws Throwable
+   {
+      return null;
+   }
+
+}


Property changes on: trunk/testsuite/src/main/org/jboss/test/aop/proxycache/NullInterceptor.java
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/testsuite/src/main/org/jboss/test/aop/test/ProxyCacheTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/aop/test/ProxyCacheTestCase.java	                        (rev 0)
+++ trunk/testsuite/src/main/org/jboss/test/aop/test/ProxyCacheTestCase.java	2008-05-06 18:02:11 UTC (rev 73086)
@@ -0,0 +1,158 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2005, JBoss Inc., and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.jboss.test.aop.test;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+
+import javax.management.MBeanServerConnection;
+import javax.management.ObjectName;
+
+import junit.framework.Test;
+
+import org.jboss.test.JBossTestCase;
+
+public class ProxyCacheTestCase extends JBossTestCase
+{
+   final static String AOP_BINDINGS = "aop-proxycache.aop";
+   final static String GLOBAL_JAR = "aop-proxycache-global.sar";
+   final static ObjectName GLOBAL;
+   static
+   {
+      try
+      {
+         GLOBAL = new ObjectName("jboss.aop:name=GlobalProxyCacheProxyTester");
+      }
+      catch (Exception e)
+      {
+         // AutoGenerated
+         throw new RuntimeException(e);
+      }
+   }
+   
+   public ProxyCacheTestCase(String name)
+   {
+      super(name);
+   }
+
+   private interface Scenario
+   {
+      void execute() throws Exception;
+   }
+
+   public void testBootStrapContainerProxy() throws Exception
+   {
+      Scenario scenario = new Scenario() {
+      int last = 0;
+
+      public void execute() throws Exception
+      {
+         deploy(GLOBAL_JAR);
+         try
+         {
+            
+            int id = createContainerProxy(GLOBAL, ArrayList.class.getName(), null);
+            if (last != 0)
+            {
+               assertEquals(last, id);
+            }
+            last = id;
+         }
+         finally
+         {
+            undeploy(GLOBAL_JAR);
+         }
+      }};
+      executeScenario(scenario);
+   }
+   
+   public void testBootStrapClassContainerProxy() throws Exception
+   {
+      Scenario scenario = new Scenario() {
+      int last = 0;
+
+      public void execute() throws Exception
+      {
+         deploy(GLOBAL_JAR);
+         try
+         {
+            
+            int id = createClassProxy(GLOBAL, ArrayList.class.getName(), null);
+            if (last != 0)
+            {
+               assertEquals(last, id);
+            }
+            last = id;
+         }
+         finally
+         {
+            undeploy(GLOBAL_JAR);
+         }
+      }};
+      executeScenario(scenario);
+   }
+   
+   private void executeScenario(Scenario scenario) throws Exception
+   {
+      for (int i = 0 ; i < 15 ; i++)
+      {
+         deploy(AOP_BINDINGS);
+         try
+         {
+            scenario.execute();
+         }
+         finally
+         {
+            undeploy(AOP_BINDINGS);
+         }
+         Thread.sleep(2000);
+      }
+   }
+   
+   private int createContainerProxy(ObjectName on, String className, String[] interfaces) throws Exception
+   {
+      if (interfaces == null)
+      {
+         interfaces = new String[0];
+      }
+      MBeanServerConnection server = getServer();
+      Object[] params = {className, interfaces};
+      String[] sig = {"java.lang.String", String[].class.getName()};
+      return (Integer)server.invoke(on, "createContainerProxy", params, sig);
+   }
+
+   private int createClassProxy(ObjectName on, String className, Map<String, List<String>> mixins) throws Exception
+   {
+      MBeanServerConnection server = getServer();
+      Object[] params = {className, mixins};
+      String[] sig = {"java.lang.String", Map.class.getName()};
+      return (Integer)server.invoke(on, "createClassProxy", params, sig);
+   }
+
+   public static Test suite() throws Exception
+   {
+      //return getDeploySetup(ProxyCacheTestCase.class, "aop-containercache.aop");
+      return suite(ProxyCacheTestCase.class);
+   }
+
+}


Property changes on: trunk/testsuite/src/main/org/jboss/test/aop/test/ProxyCacheTestCase.java
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/testsuite/src/resources/aop/proxycache/aspects/META-INF/jboss-aop.xml
===================================================================
--- trunk/testsuite/src/resources/aop/proxycache/aspects/META-INF/jboss-aop.xml	                        (rev 0)
+++ trunk/testsuite/src/resources/aop/proxycache/aspects/META-INF/jboss-aop.xml	2008-05-06 18:02:11 UTC (rev 73086)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<aop>
+   <interceptor class="org.jboss.test.aop.proxycache.NullInterceptor"/>
+   
+   <bind pointcut="execution(* java.util.ArrayList->*(..))">
+      <interceptor-ref name="org.jboss.test.aop.proxycache.NullInterceptor"/>
+   </bind>
+   
+   <bind pointcut="execution(* java.utl.ArrayList->*(..))">
+      <interceptor-ref name="org.jboss.test.aop.proxycache.NullInterceptor"/>
+   </bind>
+   
+   <bind pointcut="execution(* org.jboss.test.aop.proxycache.GlobalClass->*(..))">
+      <interceptor-ref name="org.jboss.test.aop.proxycache.NullInterceptor"/>
+   </bind>
+   
+   <bind pointcut="execution(* org.jboss.test.aop.proxycache.ScopedClass->*(..))">
+      <interceptor-ref name="org.jboss.test.aop.proxycache.NullInterceptor"/>
+   </bind>
+   
+</aop>
\ No newline at end of file


Property changes on: trunk/testsuite/src/resources/aop/proxycache/aspects/META-INF/jboss-aop.xml
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/testsuite/src/resources/aop/proxycache/global/META-INF/jboss-service.xml
===================================================================
--- trunk/testsuite/src/resources/aop/proxycache/global/META-INF/jboss-service.xml	                        (rev 0)
+++ trunk/testsuite/src/resources/aop/proxycache/global/META-INF/jboss-service.xml	2008-05-06 18:02:11 UTC (rev 73086)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE server>
+<server>
+  <mbean code="org.jboss.test.aop.proxycache.CreateProxyTester" name="jboss.aop:name=GlobalProxyCacheProxyTester"/>
+</server>


Property changes on: trunk/testsuite/src/resources/aop/proxycache/global/META-INF/jboss-service.xml
___________________________________________________________________
Name: svn:executable
   + *




More information about the jboss-cvs-commits mailing list