Author: darran.lofthouse(a)jboss.com
Date: 2009-01-14 12:10:55 -0500 (Wed, 14 Jan 2009)
New Revision: 9030
Modified:
stack/native/branches/jbossws-native-2.0.1.SP2_CP/src/main/java/org/jboss/ws/metadata/builder/jaxws/JAXWSMetaDataBuilder.java
Log:
[JBPAPP-1291] JAX-WS Deployments Fail For AOP Instrumented Endpoints.
Modified:
stack/native/branches/jbossws-native-2.0.1.SP2_CP/src/main/java/org/jboss/ws/metadata/builder/jaxws/JAXWSMetaDataBuilder.java
===================================================================
---
stack/native/branches/jbossws-native-2.0.1.SP2_CP/src/main/java/org/jboss/ws/metadata/builder/jaxws/JAXWSMetaDataBuilder.java 2009-01-14
16:33:25 UTC (rev 9029)
+++
stack/native/branches/jbossws-native-2.0.1.SP2_CP/src/main/java/org/jboss/ws/metadata/builder/jaxws/JAXWSMetaDataBuilder.java 2009-01-14
17:10:55 UTC (rev 9030)
@@ -553,6 +553,10 @@
{
String javaName = method.getName();
+ // Methods added by JBoss AOP will be marked as synthetic and should be skipped.
+ if (method.isSynthetic() == true)
+ return;
+
// skip asnyc methods, they dont need meta data representation
if (method.getName().endsWith(Constants.ASYNC_METHOD_SUFFIX))
return;
Show replies by date