Propchange: 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Init.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Init.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Integrity.java
URL: 
http://svn.apache.org/viewvc/tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Integrity.java?rev=775069&view=auto
==============================================================================
--- 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Integrity.java
 (added)
+++ 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Integrity.java
 Fri May 15 09:35:25 2009
@@ -0,0 +1,58 @@
+/*
+ * (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.FIELD;
+import static java.lang.annotation.ElementType.METHOD;
+import static java.lang.annotation.ElementType.PARAMETER;
+import static java.lang.annotation.ElementType.TYPE;
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+import static org.osoa.sca.Constants.SCA_PREFIX;
+
+import java.lang.annotation.Inherited;
+import java.lang.annotation.Retention;
+import java.lang.annotation.Target;
+
+/**
+ * Annotation denoting the intent that service operations require integrity.
+ * <p/>
+ * Applied to the injection site (field, method or constructor parameter) for 
a reference,
+ * it indicates that all invocations through that reference require integrity.
+ * <p/>
+ * Applied to a interface method on a service contract, it indicates that all 
invocations
+ * of that service operation require integrity; applied to the type of a 
service contract,
+ * it indicates that all service operations on that interface require 
integrity.
+ * <p/>
+ * Applied to a method on an implementation class, it indicates that all 
invocations that
+ * are dispatched to that implementation method (through any service) require 
integrity.
+ * Applied to a interface implemented by an implementation class, it indicates 
that all
+ * invocations that are dispatched to the implementation method for that 
interface operation
+ * require integrity.
+ * <p/>
+ * Applied to an implementation class, it indicates that all invocations of 
that implementation
+ * and that all invocations made by that implementation require integrity.
+ *
+ * @version $Rev$ $Date$
+ */
+...@inherited
+...@target({TYPE, FIELD, METHOD, PARAMETER})
+...@retention(RUNTIME)
+...@intent(Integrity.INTEGRITY)
+public @interface Integrity {
+    String INTEGRITY = SCA_PREFIX + "integrity";
+    String INTEGRITY_MESSAGE = INTEGRITY + "message";
+    String INTEGRITY_TRANSPORT = INTEGRITY + "transport";
+
+    /**
+     * List of integrity qualifiers (such as "message" or "transport").
+     *
+     * @return integrity qualifiers
+     */
+    @Qualifier
+    String[] value() default "";
+}

Propchange: 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Integrity.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Integrity.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Intent.java
URL: 
http://svn.apache.org/viewvc/tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Intent.java?rev=775069&view=auto
==============================================================================
--- 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Intent.java
 (added)
+++ 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Intent.java
 Fri May 15 09:35:25 2009
@@ -0,0 +1,48 @@
+/*
+ * (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.ANNOTATION_TYPE;
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+
+import java.lang.annotation.Retention;
+import java.lang.annotation.Target;
+
+/**
+ * Annotation that can be applied to annotations that describe SCA intents.
+ * Adding this annotation allows SCA runtimes to automatically detect 
user-defined intents.
+ * <p/>
+ * Applications must specify a value, a pairing of targetNamespace and 
localPort, or both.
+ * If both value and pairing are supplied they must define the name qualified 
name.
+ *
+ * @version $Rev$ $Date$
+ */
+...@target({ANNOTATION_TYPE})
+...@retention(RUNTIME)
+public @interface Intent {
+    /**
+     * The qualified name of the intent, in the form defined by {...@link 
javax.xml.namespace.QName#toString}.
+     *
+     * @return the qualified name of the intent
+     */
+    String value() default "";
+
+    /**
+     * The XML namespace for the intent.
+     *
+     * @return the XML namespace for the intent
+     */
+    String targetNamespace() default "";
+
+    /**
+     * The name of the intent within its namespace.
+     *
+     * @return name of the intent within its namespace
+     */
+    String localPart() default "";
+}

Propchange: 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Intent.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Intent.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/OneWay.java
URL: 
http://svn.apache.org/viewvc/tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/OneWay.java?rev=775069&view=auto
==============================================================================
--- 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/OneWay.java
 (added)
+++ 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/OneWay.java
 Fri May 15 09:35:25 2009
@@ -0,0 +1,25 @@
+/*
+ * (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.METHOD;
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+
+import java.lang.annotation.Retention;
+import java.lang.annotation.Target;
+
+/**
+ * Annotation on a method that indicates that the method is non-blocking and 
communication
+ * with the service provider may use buffer the requests and send them at some 
later time.
+ *
+ * @version $Rev$ $Date$
+ */
+...@target({METHOD})
+...@retention(RUNTIME)
+public @interface OneWay {
+}

Propchange: 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/OneWay.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/OneWay.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/PolicySets.java
URL: 
http://svn.apache.org/viewvc/tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/PolicySets.java?rev=775069&view=auto
==============================================================================
--- 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/PolicySets.java
 (added)
+++ 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/PolicySets.java
 Fri May 15 09:35:25 2009
@@ -0,0 +1,35 @@
+/*
+ * (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.FIELD;
+import static java.lang.annotation.ElementType.METHOD;
+import static java.lang.annotation.ElementType.PARAMETER;
+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 that allows application of SCA Policy Sets.
+ * <p/>
+ * Each policy set is specified using its XML QName in the form defined by 
{...@link javax.xml.namespace.QName#toString()}.
+ *
+ * @version $Rev$ $Date$
+ */
+...@target({TYPE, FIELD, METHOD, PARAMETER})
+...@retention(RUNTIME)
+public @interface PolicySets {
+    /**
+     * Returns the policy sets to be applied.
+     *
+     * @return the policy sets to be applied
+     */
+    String[] value() default "";
+}

Propchange: 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/PolicySets.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/PolicySets.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Property.java
URL: 
http://svn.apache.org/viewvc/tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Property.java?rev=775069&view=auto
==============================================================================
--- 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Property.java
 (added)
+++ 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Property.java
 Fri May 15 09:35:25 2009
@@ -0,0 +1,41 @@
+/*
+ * (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.FIELD;
+import static java.lang.annotation.ElementType.METHOD;
+import static java.lang.annotation.ElementType.PARAMETER;
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+
+import java.lang.annotation.Retention;
+import java.lang.annotation.Target;
+
+/**
+ * Annotation used to indicate a constructor parameter, field or method that is
+ * used to inject a configuration property value.
+ *
+ * @version $Rev$ $Date$
+ */
+...@target({METHOD, FIELD, PARAMETER})
+...@retention(RUNTIME)
+public @interface Property {
+    /**
+     * The name of the property. If not specified then the name will be derived
+     * from the annotated field or method.
+     *
+     * @return the name of the property
+     */
+    String name() default "";
+
+    /**
+     * Indicates whether a value for the property must be provided.
+     *
+     * @return true if a value must be provided
+     */
+    boolean required() default false;
+}

Propchange: 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Property.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Property.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Qualifier.java
URL: 
http://svn.apache.org/viewvc/tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Qualifier.java?rev=775069&view=auto
==============================================================================
--- 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Qualifier.java
 (added)
+++ 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Qualifier.java
 Fri May 15 09:35:25 2009
@@ -0,0 +1,25 @@
+/*
+ * (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.METHOD;
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+
+import java.lang.annotation.Retention;
+import java.lang.annotation.Target;
+
+/**
+ * Annotation that can be applied to an attribute of an @Intent annotation to 
indicate the
+ * attribute provides qualifiers for the intent.
+ * 
+ * @version $Rev$ $Date$
+ */
+...@target(METHOD)
+...@retention(RUNTIME)
+public @interface Qualifier {
+}

Propchange: 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Qualifier.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Qualifier.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Reference.java
URL: 
http://svn.apache.org/viewvc/tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Reference.java?rev=775069&view=auto
==============================================================================
--- 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Reference.java
 (added)
+++ 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Reference.java
 Fri May 15 09:35:25 2009
@@ -0,0 +1,40 @@
+/*
+ * (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.FIELD;
+import static java.lang.annotation.ElementType.METHOD;
+import static java.lang.annotation.ElementType.PARAMETER;
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+
+import java.lang.annotation.Retention;
+import java.lang.annotation.Target;
+
+/**
+ * Annotation used to indicate a constructor parameter, field or method that 
is used to inject a reference.
+ *
+ * @version $Rev$ $Date$
+ */
+...@target({METHOD, FIELD, PARAMETER})
+...@retention(RUNTIME)
+public @interface Reference {
+    /**
+     * The name of the reference. If not specified then the name will be 
derived from the annotated field or method.
+     *
+     * @return the name of the reference
+     */
+    String name() default "";
+
+    /**
+     * Indicates if a reference must be specified.
+     *
+     * @return true if a reference must be specified
+     */
+    boolean required() default true;
+}
+

Propchange: 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Reference.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Reference.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Remotable.java
URL: 
http://svn.apache.org/viewvc/tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Remotable.java?rev=775069&view=auto
==============================================================================
--- 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Remotable.java
 (added)
+++ 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Remotable.java
 Fri May 15 09:35:25 2009
@@ -0,0 +1,26 @@
+/*
+ * (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 a Java interface as remotable.
+ * Remotable interfaces use pass-by-value semantics, can be published as entry 
points
+ * and used for external services.
+ *
+ * @version $Rev$ $Date$
+ */
+...@target(TYPE)
+...@retention(RUNTIME)
+public @interface Remotable {
+}

Propchange: 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Remotable.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Remotable.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Requires.java
URL: 
http://svn.apache.org/viewvc/tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Requires.java?rev=775069&view=auto
==============================================================================
--- 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Requires.java
 (added)
+++ 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Requires.java
 Fri May 15 09:35:25 2009
@@ -0,0 +1,46 @@
+/*
+ * (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.FIELD;
+import static java.lang.annotation.ElementType.METHOD;
+import static java.lang.annotation.ElementType.PARAMETER;
+import static java.lang.annotation.ElementType.TYPE;
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+
+import java.lang.annotation.Inherited;
+import java.lang.annotation.Retention;
+import java.lang.annotation.Target;
+
+/**
+ * Annotation that allows the attachment of any intent to a Java Class or 
interface or to members of that
+ * class such as methods, fields or constructor parameters.
+ * <p/>
+ * Intents are specified as XML QNames in the representation defined by
+ * {...@link javax.xml.namespace.QName#toString()}. Intents may be qualified 
with one or more
+ * suffixes separated by a "." such as:
+ * <ul>
+ * <li>{http://www.osoa.org/xmlns/sca/1.0}confidentiality</li>
+ * <li>{http://www.osoa.org/xmlns/sca/1.0}confidentiality.message</li>
+ * </ul>
+ * This annotation supports general purpose intents specified as strings.  
Users may also define
+ * specific intents using the {...@link @org.osoa.sca.annotations.Intent} 
annotation.
+ *
+ * @version $Rev$ $Date$
+ */
+...@inherited
+...@retention(RUNTIME)
+...@target({TYPE, METHOD, FIELD, PARAMETER})
+public @interface Requires {
+    /**
+     * Returns the attached intents.
+     *
+     * @return the attached intents
+     */
+    String[] value() default "";
+}

Propchange: 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Requires.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Requires.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Scope.java
URL: 
http://svn.apache.org/viewvc/tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Scope.java?rev=775069&view=auto
==============================================================================
--- 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Scope.java
 (added)
+++ 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Scope.java
 Fri May 15 09:35:25 2009
@@ -0,0 +1,38 @@
+/*
+ * (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 a scoped service.
+ * <p/>
+ * The spec refers to but does not describe an eager() attribute; this is an 
error in the draft.
+ *
+ * @version $Rev$ $Date$
+ */
+...@target(TYPE)
+...@retention(RUNTIME)
+public @interface Scope {
+    /**
+     * The name of the scope. Values currently defined by the specification 
are:
+     * <ul>
+     * <li>STATELESS (default)</li>
+     * <li>REQUEST</li>
+     * <li>CONVERSATION</li>
+     * <li>COMPOSITE</li>
+     * </ul>
+     *
+     * @return the name of the scope
+     */
+    String value() default "STATELESS";
+}

Propchange: 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Scope.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Scope.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Service.java
URL: 
http://svn.apache.org/viewvc/tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Service.java?rev=775069&view=auto
==============================================================================
--- 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Service.java
 (added)
+++ 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Service.java
 Fri May 15 09:35:25 2009
@@ -0,0 +1,37 @@
+/*
+ * (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;
+}

Propchange: 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Service.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tuscany/java/sca/modules/sca-api-osoa/src/main/java/org/osoa/sca/annotations/Service.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date


Reply via email to