diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-11 23:08:29 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-11 23:08:29 +0000 |
commit | 725006d4c47e63986ac042ade23a4d193298b1fe (patch) | |
tree | ecb2465ddee739a48032ac5c7fa0311e4d90f309 /branches/sca-java-1.4/modules/sca-api/src/main/java/org/osoa/sca/annotations/Service.java | |
parent | 61c9466ff91ca40f4b1ebbe670d7848e521131d7 (diff) |
Moving 1.x branches
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@835131 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.4/modules/sca-api/src/main/java/org/osoa/sca/annotations/Service.java')
-rw-r--r-- | branches/sca-java-1.4/modules/sca-api/src/main/java/org/osoa/sca/annotations/Service.java | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/branches/sca-java-1.4/modules/sca-api/src/main/java/org/osoa/sca/annotations/Service.java b/branches/sca-java-1.4/modules/sca-api/src/main/java/org/osoa/sca/annotations/Service.java deleted file mode 100644 index 62f4abdbee..0000000000 --- a/branches/sca-java-1.4/modules/sca-api/src/main/java/org/osoa/sca/annotations/Service.java +++ /dev/null @@ -1,37 +0,0 @@ -/* - * (c) Copyright BEA Systems, Inc., Cape Clear Software, International Business Machines Corp, Interface21, IONA Technologies, - * Oracle, Primeton Technologies, Progress Software, Red Hat, Rogue Wave Software, SAP AG., Siemens AG., Software AG., Sybase - * Inc., TIBCO Software Inc., 2005, 2007. All rights reserved. - * - * see http://www.osoa.org/display/Main/Service+Component+Architecture+Specifications - */ -package org.osoa.sca.annotations; - -import static java.lang.annotation.ElementType.TYPE; -import static java.lang.annotation.RetentionPolicy.RUNTIME; - -import java.lang.annotation.Retention; -import java.lang.annotation.Target; - -/** - * Annotation used to indicate the service interfaces exposed by a Java class. - * - * @version $Rev$ $Date$ - */ -@Target({TYPE}) -@Retention(RUNTIME) -public @interface Service { - /** - * Array of interfaces that should be exposed as services. - * - * @return a list of interfaces that should be exposed as services - */ - Class<?>[] interfaces() default {}; - - /** - * Shortcut allowing a single interface to be exposed. - * - * @return a single service interfaces to be exposed - */ - Class<?> value() default Void.class; -} |