From e32b64d161654e654012f343e795d069bcf40ff8 Mon Sep 17 00:00:00 2001 From: antelder Date: Mon, 19 Sep 2011 11:45:40 +0000 Subject: TUSCANY-3948: Apply patch from Greg Dritschler to support @Remotable on implementation class, reference field, or reference setter method git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1172577 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/java/org/oasisopen/sca/annotation/Remotable.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sca-java-2.x/trunk/modules/sca-api/src/main/java/org/oasisopen') diff --git a/sca-java-2.x/trunk/modules/sca-api/src/main/java/org/oasisopen/sca/annotation/Remotable.java b/sca-java-2.x/trunk/modules/sca-api/src/main/java/org/oasisopen/sca/annotation/Remotable.java index 50f3557bed..e7ddbace7d 100644 --- a/sca-java-2.x/trunk/modules/sca-api/src/main/java/org/oasisopen/sca/annotation/Remotable.java +++ b/sca-java-2.x/trunk/modules/sca-api/src/main/java/org/oasisopen/sca/annotation/Remotable.java @@ -5,6 +5,9 @@ package org.oasisopen.sca.annotation; import static java.lang.annotation.ElementType.TYPE; +import static java.lang.annotation.ElementType.METHOD; +import static java.lang.annotation.ElementType.FIELD; +import static java.lang.annotation.ElementType.PARAMETER; import static java.lang.annotation.RetentionPolicy.RUNTIME; import java.lang.annotation.Retention; import java.lang.annotation.Target; @@ -16,7 +19,7 @@ import java.lang.annotation.Target; * * The @Remotable annotation has no attributes. */ -@Target(TYPE) +@Target({TYPE,METHOD,FIELD,PARAMETER}) @Retention(RUNTIME) public @interface Remotable { -- cgit v1.2.3