[jboss-cvs] JBossAS SVN: r107199 - in projects/jboss-aspects/tags: jboss-remoting-aspects-1.0.3 and 1 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Jul 29 08:43:28 EDT 2010


Author: wolfc
Date: 2010-07-29 08:43:26 -0400 (Thu, 29 Jul 2010)
New Revision: 107199

Added:
   projects/jboss-aspects/tags/jboss-remoting-aspects-1.0.3/
   projects/jboss-aspects/tags/jboss-remoting-aspects-1.0.3/pom.xml
   projects/jboss-aspects/tags/jboss-remoting-aspects-1.0.3/src/main/java/org/jboss/aspects/remoting/PojiProxy.java
Removed:
   projects/jboss-aspects/tags/jboss-remoting-aspects-1.0.3/pom.xml
   projects/jboss-aspects/tags/jboss-remoting-aspects-1.0.3/src/main/java/org/jboss/aspects/remoting/PojiProxy.java
Log:
[maven-release-plugin]  copy for tag jboss-remoting-aspects-1.0.3

Copied: projects/jboss-aspects/tags/jboss-remoting-aspects-1.0.3 (from rev 106694, projects/jboss-aspects/trunk/remoting)

Deleted: projects/jboss-aspects/tags/jboss-remoting-aspects-1.0.3/pom.xml
===================================================================
--- projects/jboss-aspects/trunk/remoting/pom.xml	2010-07-14 12:10:45 UTC (rev 106694)
+++ projects/jboss-aspects/tags/jboss-remoting-aspects-1.0.3/pom.xml	2010-07-29 12:43:26 UTC (rev 107199)
@@ -1,187 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-  <parent>
-    <groupId>org.jboss.aspects</groupId>
-    <artifactId>jboss-aspects-build</artifactId>
-    <version>1.0.1.CR2</version>
-    <relativePath>../build</relativePath>
-  </parent>
-  <modelVersion>4.0.0</modelVersion>
-  <artifactId>jboss-remoting-aspects</artifactId>
-  <version>1.0.3-SNAPSHOT</version>
-  <packaging>jar</packaging>
-  <name>JBoss Remoting Aspects</name>
-  <url>http://www.jboss.org/jbossas</url>
-  <description>JBoss Remoting Aspects</description>
-  
-  <scm>
-    <connection>scm:svn:http://anonsvn.jboss.org/repos/jbossas/projects/jboss-aspects/trunk/remoting</connection>
-    <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/jboss-aspects/trunk/remoting</developerConnection>
-    <url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/jboss-aspects/trunk/remoting</url>
-  </scm>
-  
-  <build>
-  
-    <sourceDirectory>src/main/java</sourceDirectory>
-    <testSourceDirectory>src/test/java</testSourceDirectory>
-
-    <plugins>
-    
-      <!-- Build a CP File for use in tests -->     
-      <plugin>
-        <artifactId>maven-dependency-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>build-cp-file</id>
-            <phase>validate</phase>
-            <goals>
-              <goal>build-classpath</goal>
-            </goals>
-            <configuration>
-              <outputFile>target/cp.txt</outputFile>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-
-      <!-- Surefire (Tests) Plugin -->
-
-      <!--
-
-        To pass JVM Arguments (ie. Remote Debugging w/ suspend),
-        pass "maven.surefire.debug" as system property, ie:
-
-        mvn test -Dmaven.surefire.debug="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8787"
-
-      -->
-      <plugin>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <!-- SUREFIRE-510: surefire.test.class.path is not set when forkMode is always -->
-        <version>2.4.3</version>
-        <configuration>
-          <redirectTestOutputToFile>true</redirectTestOutputToFile>
-          <printSummary>true</printSummary>
-          <!-- To allow override from the command line, see SUREFIRE-319 -->
-          <testFailureIgnore>${maven.test.failure.ignore}</testFailureIgnore>
-          <includes>
-            <include>**/*TestCase.java</include>
-            <include>**/*TestSuite.java</include>
-          </includes>
-          <forkMode>always</forkMode>
-          <argLine>-ea</argLine>
-        </configuration>
-      </plugin>
-
-    </plugins>
-
-
-  </build>
-
-  <dependencyManagement>
-    <dependencies>
-      <!-- Because of a bug in m2eclipse the version of reflect must be explicitly defined -->
-      <!-- 
-      <dependency>
-        <groupId>org.jboss</groupId>
-        <artifactId>jboss-reflect</artifactId>
-        <version>2.0.0.Beta12</version>
-      </dependency>
-      -->
-    </dependencies>
-  </dependencyManagement>
-  
-  <dependencies>
-    <!-- TODO: who should declare this dependency? -->
-    <dependency>
-      <groupId>jboss</groupId>
-      <artifactId>jboss-serialization</artifactId>
-      <version>1.0.3.GA</version>
-      <exclusions>
-        <exclusion>
-          <groupId>jboss</groupId>
-          <artifactId>jboss-logging-log4j</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <scope>test</scope>
-    </dependency>
-    
-    <dependency>
-      <groupId>org.jboss</groupId>
-      <artifactId>jboss-common-core</artifactId>
-    </dependency>
-    
-    <dependency>
-      <groupId>org.jboss.remoting</groupId>
-      <artifactId>jboss-remoting</artifactId>
-    </dependency>
-    
-    <!-- TODO: who should define this dependency? -->
-    <dependency>
-      <groupId>oswego-concurrent</groupId>
-      <artifactId>concurrent</artifactId>
-      <version>1.3.4-jboss-update1</version>
-      <scope>test</scope>
-    </dependency>
-
-    <dependency>
-      <groupId>org.jboss.aop</groupId>
-      <artifactId>jboss-aop</artifactId>
-    </dependency>
-
-    <dependency>
-      <groupId>org.jboss.logging</groupId>
-      <artifactId>jboss-logging-log4j</artifactId>
-      <version>2.0.5.GA</version>
-      <scope>test</scope>
-    </dependency>
-    
-    <!-- MC doesn't declare this as a proper dependency -->
-    <dependency>
-      <groupId>org.jboss.man</groupId>
-      <artifactId>jboss-managed</artifactId>
-      <version>2.0.0.Beta12</version>
-      <scope>test</scope>
-    </dependency>
-
-    <dependency>
-      <groupId>org.jboss.microcontainer</groupId>
-      <artifactId>jboss-kernel</artifactId>
-      <scope>test</scope>
-    </dependency>
-    
-    <dependency>
-      <groupId>org.jboss.naming</groupId>
-      <artifactId>jnpserver</artifactId>
-      <version>5.0.0.CR1</version>
-      <scope>test</scope>
-    </dependency>
-    
-    <!-- JBASPECT-3  
-    Dependencies below this line should be removed 
-    -->
-    <dependency>
-      <groupId>org.jboss.aspects</groupId>
-      <artifactId>jboss-transaction-aspects</artifactId>
-      <version>1.0.0.GA</version>
-    </dependency>
-    
-    <dependency>
-      <groupId>org.jboss.aspects</groupId>
-      <artifactId>jboss-security-aspects</artifactId>
-      <version>1.0.1</version>
-    </dependency>
-
-    <dependency>
-      <groupId>org.jboss.microcontainer</groupId>
-      <artifactId>jboss-aop-mc-int</artifactId>
-      <version>2.0.0.Beta16</version>
-      <scope>test</scope>
-    </dependency>
-
-  </dependencies>
-
-</project>

Copied: projects/jboss-aspects/tags/jboss-remoting-aspects-1.0.3/pom.xml (from rev 107198, projects/jboss-aspects/trunk/remoting/pom.xml)
===================================================================
--- projects/jboss-aspects/tags/jboss-remoting-aspects-1.0.3/pom.xml	                        (rev 0)
+++ projects/jboss-aspects/tags/jboss-remoting-aspects-1.0.3/pom.xml	2010-07-29 12:43:26 UTC (rev 107199)
@@ -0,0 +1,187 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <parent>
+    <groupId>org.jboss.aspects</groupId>
+    <artifactId>jboss-aspects-build</artifactId>
+    <version>1.0.2-1</version>
+    <relativePath>../build</relativePath>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>jboss-remoting-aspects</artifactId>
+  <version>1.0.3</version>
+  <packaging>jar</packaging>
+  <name>JBoss Remoting Aspects</name>
+  <url>http://www.jboss.org/jbossas</url>
+  <description>JBoss Remoting Aspects</description>
+  
+  <scm>
+    <connection>scm:svn:http://anonsvn.jboss.org/repos/jbossas/projects/jboss-aspects/tags/jboss-remoting-aspects-1.0.3</connection>
+    <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/jboss-aspects/tags/jboss-remoting-aspects-1.0.3</developerConnection>
+    <url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/jboss-aspects/tags/jboss-remoting-aspects-1.0.3</url>
+  </scm>
+  
+  <build>
+  
+    <sourceDirectory>src/main/java</sourceDirectory>
+    <testSourceDirectory>src/test/java</testSourceDirectory>
+
+    <plugins>
+    
+      <!-- Build a CP File for use in tests -->     
+      <plugin>
+        <artifactId>maven-dependency-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>build-cp-file</id>
+            <phase>validate</phase>
+            <goals>
+              <goal>build-classpath</goal>
+            </goals>
+            <configuration>
+              <outputFile>target/cp.txt</outputFile>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+
+      <!-- Surefire (Tests) Plugin -->
+
+      <!--
+
+        To pass JVM Arguments (ie. Remote Debugging w/ suspend),
+        pass "maven.surefire.debug" as system property, ie:
+
+        mvn test -Dmaven.surefire.debug="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8787"
+
+      -->
+      <plugin>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <!-- SUREFIRE-510: surefire.test.class.path is not set when forkMode is always -->
+        <version>2.4.3</version>
+        <configuration>
+          <redirectTestOutputToFile>true</redirectTestOutputToFile>
+          <printSummary>true</printSummary>
+          <!-- To allow override from the command line, see SUREFIRE-319 -->
+          <testFailureIgnore>${maven.test.failure.ignore}</testFailureIgnore>
+          <includes>
+            <include>**/*TestCase.java</include>
+            <include>**/*TestSuite.java</include>
+          </includes>
+          <forkMode>always</forkMode>
+          <argLine>-ea</argLine>
+        </configuration>
+      </plugin>
+
+    </plugins>
+
+
+  </build>
+
+  <dependencyManagement>
+    <dependencies>
+      <!-- Because of a bug in m2eclipse the version of reflect must be explicitly defined -->
+      <!-- 
+      <dependency>
+        <groupId>org.jboss</groupId>
+        <artifactId>jboss-reflect</artifactId>
+        <version>2.0.0.Beta12</version>
+      </dependency>
+      -->
+    </dependencies>
+  </dependencyManagement>
+  
+  <dependencies>
+    <!-- TODO: who should declare this dependency? -->
+    <dependency>
+      <groupId>jboss</groupId>
+      <artifactId>jboss-serialization</artifactId>
+      <version>1.0.3.GA</version>
+      <exclusions>
+        <exclusion>
+          <groupId>jboss</groupId>
+          <artifactId>jboss-logging-log4j</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <scope>test</scope>
+    </dependency>
+    
+    <dependency>
+      <groupId>org.jboss</groupId>
+      <artifactId>jboss-common-core</artifactId>
+    </dependency>
+    
+    <dependency>
+      <groupId>org.jboss.remoting</groupId>
+      <artifactId>jboss-remoting</artifactId>
+    </dependency>
+    
+    <!-- TODO: who should define this dependency? -->
+    <dependency>
+      <groupId>oswego-concurrent</groupId>
+      <artifactId>concurrent</artifactId>
+      <version>1.3.4-jboss-update1</version>
+      <scope>test</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>org.jboss.aop</groupId>
+      <artifactId>jboss-aop</artifactId>
+    </dependency>
+
+    <dependency>
+      <groupId>org.jboss.logging</groupId>
+      <artifactId>jboss-logging-log4j</artifactId>
+      <version>2.0.5.GA</version>
+      <scope>test</scope>
+    </dependency>
+    
+    <!-- MC doesn't declare this as a proper dependency -->
+    <dependency>
+      <groupId>org.jboss.man</groupId>
+      <artifactId>jboss-managed</artifactId>
+      <version>2.0.0.GA</version>
+      <scope>test</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>org.jboss.microcontainer</groupId>
+      <artifactId>jboss-kernel</artifactId>
+      <scope>test</scope>
+    </dependency>
+    
+    <dependency>
+      <groupId>org.jboss.naming</groupId>
+      <artifactId>jnpserver</artifactId>
+      <version>5.0.0.CR1</version>
+      <scope>test</scope>
+    </dependency>
+    
+    <!-- JBASPECT-3  
+    Dependencies below this line should be removed 
+    -->
+    <dependency>
+      <groupId>org.jboss.aspects</groupId>
+      <artifactId>jboss-transaction-aspects</artifactId>
+      <version>1.0.0.GA</version>
+    </dependency>
+    
+    <dependency>
+      <groupId>org.jboss.aspects</groupId>
+      <artifactId>jboss-security-aspects</artifactId>
+      <version>1.0.1</version>
+    </dependency>
+
+    <dependency>
+      <groupId>org.jboss.microcontainer</groupId>
+      <artifactId>jboss-aop-mc-int</artifactId>
+      <version>${version.jboss.microcontainer}</version>
+      <scope>test</scope>
+    </dependency>
+
+  </dependencies>
+
+</project>

Deleted: projects/jboss-aspects/tags/jboss-remoting-aspects-1.0.3/src/main/java/org/jboss/aspects/remoting/PojiProxy.java
===================================================================
--- projects/jboss-aspects/trunk/remoting/src/main/java/org/jboss/aspects/remoting/PojiProxy.java	2010-07-14 12:10:45 UTC (rev 106694)
+++ projects/jboss-aspects/tags/jboss-remoting-aspects-1.0.3/src/main/java/org/jboss/aspects/remoting/PojiProxy.java	2010-07-29 12:43:26 UTC (rev 107199)
@@ -1,123 +0,0 @@
-/*
-  * 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.aspects.remoting;
-
-import java.lang.reflect.InvocationHandler;
-import java.lang.reflect.Method;
-
-import org.jboss.aop.Dispatcher;
-import org.jboss.aop.advice.Interceptor;
-import org.jboss.aop.joinpoint.MethodInvocation;
-import org.jboss.aop.util.MethodHashing;
-import org.jboss.aop.util.PayloadKey;
-import org.jboss.remoting.InvokerLocator;
-
-/**
- * comment
- *
- * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
- * @author <a href="andrew.rubinger at jboss.org">ALR</a> Maintain only 
- */
-public class PojiProxy implements java.io.Serializable, InvocationHandler
-{
-   private static final long serialVersionUID = 8054816523858555978L;
-
-   private Object oid;
-
-   private InvokerLocator uri;
-
-   private Interceptor[] interceptors;
-
-   public PojiProxy(Object oid, InvokerLocator uri, Interceptor[] interceptors)
-   {
-      this.oid = oid;
-      this.uri = uri;
-      this.interceptors = interceptors;
-   }
-
-   public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
-   {
-      MethodInvocation sri = this.constructMethodInvocation(method, args);
-      this.addMetadataToInvocation(sri);
-      this.addArgumentsToInvocation(sri, args);
-      return sri.invokeNext();
-   }
-
-   /**
-    * Constructs a MethodInvocation from the specified Method and
-    * arguments
-    * 
-    * @param method
-    * @param args
-    * @return
-    */
-   protected MethodInvocation constructMethodInvocation(Method method, Object[] args)
-   {
-      long hash = MethodHashing.calculateHash(method);
-      MethodInvocation sri = new MethodInvocation(interceptors, hash, method, method, null);
-      return sri;
-   }
-
-   /**
-    * Adds metadata to the specified MethodInvocation before
-    * invocation is called.  Extracted to allow subclasses to control
-    * which metadata is added to a PojiProxy 
-    * 
-    * @param methodInvocation
-    */
-   protected void addMetadataToInvocation(MethodInvocation methodInvocation)
-   {
-      methodInvocation.getMetaData().addMetaData(Dispatcher.DISPATCHER, Dispatcher.OID, oid, PayloadKey.AS_IS);
-      methodInvocation.getMetaData().addMetaData(InvokeRemoteInterceptor.REMOTING,
-            InvokeRemoteInterceptor.INVOKER_LOCATOR, uri, PayloadKey.AS_IS);
-      methodInvocation.getMetaData().addMetaData(InvokeRemoteInterceptor.REMOTING, InvokeRemoteInterceptor.SUBSYSTEM,
-            "AOP", PayloadKey.AS_IS);
-   }
-
-   /**
-    * Sets the specified arguments on the specified invocation.  Extracted to
-    * provide indirection such that the arguments set on the invocation may be 
-    * different from those originally passed in.
-    * 
-    * @param invocation
-    * @param originalArguments
-    */
-   protected void addArgumentsToInvocation(MethodInvocation invocation, Object[] originalArguments)
-   {
-      invocation.setArguments(originalArguments);
-   }
-
-   protected Interceptor[] getInterceptors()
-   {
-      return interceptors;
-   }
-
-   protected Object getOid()
-   {
-      return oid;
-   }
-
-   protected InvokerLocator getUri()
-   {
-      return uri;
-   }
-}

Copied: projects/jboss-aspects/tags/jboss-remoting-aspects-1.0.3/src/main/java/org/jboss/aspects/remoting/PojiProxy.java (from rev 107187, projects/jboss-aspects/trunk/remoting/src/main/java/org/jboss/aspects/remoting/PojiProxy.java)
===================================================================
--- projects/jboss-aspects/tags/jboss-remoting-aspects-1.0.3/src/main/java/org/jboss/aspects/remoting/PojiProxy.java	                        (rev 0)
+++ projects/jboss-aspects/tags/jboss-remoting-aspects-1.0.3/src/main/java/org/jboss/aspects/remoting/PojiProxy.java	2010-07-29 12:43:26 UTC (rev 107199)
@@ -0,0 +1,123 @@
+/*
+  * 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.aspects.remoting;
+
+import java.lang.reflect.InvocationHandler;
+import java.lang.reflect.Method;
+
+import org.jboss.aop.Dispatcher;
+import org.jboss.aop.advice.Interceptor;
+import org.jboss.aop.joinpoint.MethodInvocation;
+import org.jboss.aop.util.MethodHashing;
+import org.jboss.aop.util.PayloadKey;
+import org.jboss.remoting.InvokerLocator;
+
+/**
+ * comment
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @author <a href="andrew.rubinger at jboss.org">ALR</a> Maintain only 
+ */
+public class PojiProxy implements java.io.Serializable, InvocationHandler
+{
+   private static final long serialVersionUID = 8054816523858555978L;
+
+   private Object oid;
+
+   private InvokerLocator uri;
+
+   private Interceptor[] interceptors;
+
+   public PojiProxy(Object oid, InvokerLocator uri, Interceptor[] interceptors)
+   {
+      this.oid = oid;
+      this.uri = uri;
+      this.interceptors = interceptors;
+   }
+
+   public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
+   {
+      MethodInvocation sri = this.constructMethodInvocation(method, args);
+      this.addMetadataToInvocation(sri);
+      this.addArgumentsToInvocation(sri, args);
+      return sri.invokeNext();
+   }
+
+   /**
+    * Constructs a MethodInvocation from the specified Method and
+    * arguments
+    * 
+    * @param method
+    * @param args
+    * @return
+    */
+   protected MethodInvocation constructMethodInvocation(Method method, Object[] args)
+   {
+      long hash = MethodHashing.calculateHash(method);
+      MethodInvocation sri = new MethodInvocation(interceptors, hash, method, method, null);
+      return sri;
+   }
+
+   /**
+    * Adds metadata to the specified MethodInvocation before
+    * invocation is called.  Extracted to allow subclasses to control
+    * which metadata is added to a PojiProxy 
+    * 
+    * @param methodInvocation
+    */
+   protected void addMetadataToInvocation(MethodInvocation methodInvocation)
+   {
+      methodInvocation.getMetaData().addMetaData(Dispatcher.DISPATCHER, Dispatcher.OID, oid, PayloadKey.AS_IS);
+      methodInvocation.getMetaData().addMetaData(InvokeRemoteInterceptor.REMOTING,
+            InvokeRemoteInterceptor.INVOKER_LOCATOR, uri, PayloadKey.TRANSIENT);
+      methodInvocation.getMetaData().addMetaData(InvokeRemoteInterceptor.REMOTING, InvokeRemoteInterceptor.SUBSYSTEM,
+            "AOP", PayloadKey.TRANSIENT);
+   }
+
+   /**
+    * Sets the specified arguments on the specified invocation.  Extracted to
+    * provide indirection such that the arguments set on the invocation may be 
+    * different from those originally passed in.
+    * 
+    * @param invocation
+    * @param originalArguments
+    */
+   protected void addArgumentsToInvocation(MethodInvocation invocation, Object[] originalArguments)
+   {
+      invocation.setArguments(originalArguments);
+   }
+
+   protected Interceptor[] getInterceptors()
+   {
+      return interceptors;
+   }
+
+   protected Object getOid()
+   {
+      return oid;
+   }
+
+   protected InvokerLocator getUri()
+   {
+      return uri;
+   }
+}



More information about the jboss-cvs-commits mailing list