You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by js...@apache.org on 2007/03/13 19:23:58 UTC

svn commit: r517804 - /incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/

Author: jsdelfino
Date: Tue Mar 13 11:23:57 2007
New Revision: 517804

URL: http://svn.apache.org/viewvc?view=rev&rev=517804
Log:
Adding property definitions and component/composite/componentType/constrainingType that use the properties/references/services interfaces.

Added:
    incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/AbstractProperty.java   (with props)
    incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/Component.java   (with props)
    incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/ComponentProperty.java   (with props)
    incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/ComponentType.java   (with props)
    incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/Composite.java   (with props)
    incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/ConstrainingType.java   (with props)
    incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/Implementation.java   (with props)
    incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/Property.java   (with props)
Modified:
    incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/ComponentReference.java
    incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/ComponentService.java
    incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/Service.java

Added: incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/AbstractProperty.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/AbstractProperty.java?view=auto&rev=517804
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/AbstractProperty.java (added)
+++ incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/AbstractProperty.java Tue Mar 13 11:23:57 2007
@@ -0,0 +1,106 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+package org.apache.tuscany.assembly.model;
+
+import javax.xml.namespace.QName;
+
+import org.apache.tuscany.assembly.util.Extensible;
+import org.apache.tuscany.policy.model.IntentAttachPoint;
+
+
+/**
+ * A property allows for the configuration of an implementation with externally set data values.
+ * An implementation can have zero or more properties.  Each property has a data type, which may be
+  * either simple or complex.  An implementation may also define a default value for a property.
+ */
+public interface AbstractProperty extends Extensible, IntentAttachPoint {
+
+    /**
+     * Returns the property name.
+     * @return the property name
+     */
+    String getName();
+
+    /**
+     * Sets the property name.
+     * @param name the property name
+     */
+    void setName(String name);
+
+    /**
+     * Returns the default value of the property.
+     * @return the default value of ths property
+     */
+    Object getDefaultValue();
+
+    /**
+     * Sets the default value of the property.
+     * @param defaultValue the default value of ths property
+     */
+    void setDefaultValue(Object defaultValue);
+
+    /**
+     * Returns true if the property allows multiple values.
+     * @return true if the property allows multiple values
+     */
+    boolean isMany();
+
+    /**
+     * Sets whether or not the property allows multiple values.
+     * @param many true if the property should allow multiple values
+     */
+    void setMany(boolean many);
+
+    /**
+     * Returns true if a value must be supplied for the property.
+     * @return true is a value must be supplied for the property
+     */
+    boolean isMustSupply();
+
+    /**
+     * Sets whether a value must be supplied for the property.
+     * @param required set to true to require that a value be supplied for uses of this property
+     */
+    void setMustSupply(boolean required);
+
+    /**
+     * Returns the data type of this property. This is the qualified name of an XML schema type.
+     * @return the type of this property
+     */
+    QName getXSDType();
+
+    /**
+     * Sets the data type of this property. This is the qualified name of an XML schema type.
+     * @param type the type of this property
+     */
+    void setXSDType(QName type);
+
+    /**
+     * Returns the element defining the data type of this property. This is the qualified name of an XML schema element.
+     * @return the element defining the type of this property
+     */
+    QName getXSDElement();
+
+    /**
+     * Sets the element defining the data type of this property. This is the qualified name of an XML schema element.
+     * @param type the element defining the type of this property
+     */
+    void setXSDElement(QName element);
+
+}

Propchange: incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/AbstractProperty.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/AbstractProperty.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/Component.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/Component.java?view=auto&rev=517804
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/Component.java (added)
+++ incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/Component.java Tue Mar 13 11:23:57 2007
@@ -0,0 +1,88 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+package org.apache.tuscany.assembly.model;
+
+import java.util.List;
+
+import org.apache.tuscany.assembly.util.Extensible;
+import org.apache.tuscany.policy.model.IntentAttachPoint;
+import org.apache.tuscany.policy.model.PolicySetAttachPoint;
+
+
+
+/**
+ * Represents a component. A component is a configured instance of an implementation.
+ */
+public interface Component extends Extensible, IntentAttachPoint, PolicySetAttachPoint {
+
+    /**
+     * Returns the name of the component.
+     * @return the name of the component
+     */
+    String getName();
+
+    /**
+     * Sets the name of the component.
+     * @param name the name of the component
+     */
+    void setName(String name);
+
+    /**
+     * Returns the component implementation.
+     * @return the component implementation
+     */
+    Implementation getImplementation();
+
+    /**
+     * Sets the component implementation
+     * @param implementation the component implementation
+     */
+    void setImplementation(Implementation implementation);
+
+    /**
+     * Returns a list of references used by the component.
+     * @return a list of references used by the component
+     */
+    List<ComponentReference> getReferences();
+
+    /**
+     * Returns a list of services exposed by the component.
+     * @return a list of services exposed by the component
+     */
+    List<ComponentService> getServices();
+
+    /**
+     * Returns a list of properties for the component.
+     * @return a list of properties
+     */
+    List<ComponentProperty> getProperties();
+
+	/**
+	 * Returns a constraining type defining the shape of the component.
+	 * @return a constraining type
+	 */
+	ConstrainingType getConstrainingType();
+
+	/**
+	 * Sets a constraining type defining the shape of the component.
+	 * @param constrainingType the constraining type
+	 */
+	void setConstrainingType(ConstrainingType constrainingType);
+
+}

Propchange: incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/Component.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/Component.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/ComponentProperty.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/ComponentProperty.java?view=auto&rev=517804
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/ComponentProperty.java (added)
+++ incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/ComponentProperty.java Tue Mar 13 11:23:57 2007
@@ -0,0 +1,63 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+package org.apache.tuscany.assembly.model;
+
+
+/**
+ * Represents a configured property of a component.
+ */
+public interface ComponentProperty extends Property {
+
+    /**
+     * Returns the property defined by the component implementation.
+     * @return the property defined by the component implementation
+     */
+    Property getPropertyImplementation();
+
+    /**
+     * Sets the property type that defines this property.
+     * @param type the property that defines this property
+     */
+    void setPropertyImplementation(Property property);
+
+    /**
+     * Returns an xpath expression referencing a property of the enclosing composite.
+     * @return an xpath expression referencing a property of the enclosing composite
+     */
+    String getSource();
+    
+    /**
+     * Sets an xpath expression referencing a property of the enclosing composite.
+     * @param source an xpath expression referencing a property of the enclosing composite
+     */
+    void setSource(String source);
+    
+    /**
+     * Returns a URI to a file containing the property value.
+     * @return a URI to a file containing the property value
+     */
+    String getFile();
+    
+    /**
+     * Sets a URI to a file containing the property value.
+     * @param file a URI to a file containing the property value
+     */
+    void setFile(String file);
+    
+}

Propchange: incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/ComponentProperty.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/ComponentProperty.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/ComponentReference.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/ComponentReference.java?view=diff&rev=517804&r1=517803&r2=517804
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/ComponentReference.java (original)
+++ incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/ComponentReference.java Tue Mar 13 11:23:57 2007
@@ -18,14 +18,13 @@
  */
 package org.apache.tuscany.assembly.model;
 
-import org.apache.tuscany.assembly.util.Undefinable;
 
 
 
 /**
  * An instance of a reference associated with a particular component.
  */
-public interface ComponentReference extends Reference, Undefinable {
+public interface ComponentReference extends Reference {
 	
 	/**
 	 * Returns the reference defined by the implementation for this reference.

Modified: incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/ComponentService.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/ComponentService.java?view=diff&rev=517804&r1=517803&r2=517804
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/ComponentService.java (original)
+++ incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/ComponentService.java Tue Mar 13 11:23:57 2007
@@ -18,14 +18,13 @@
  */
 package org.apache.tuscany.assembly.model;
 
-import org.apache.tuscany.assembly.util.Undefinable;
 
 
 
 /**
  * An addressable instance of a service associated with a particular component.
  */
-public interface ComponentService extends Service, Undefinable {
+public interface ComponentService extends Service {
     
 	/**
 	 * Returns the reference defined by the implementation for this reference.

Added: incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/ComponentType.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/ComponentType.java?view=auto&rev=517804
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/ComponentType.java (added)
+++ incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/ComponentType.java Tue Mar 13 11:23:57 2007
@@ -0,0 +1,63 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+package org.apache.tuscany.assembly.model;
+
+import java.util.List;
+
+import org.apache.tuscany.assembly.util.Extensible;
+import org.apache.tuscany.policy.model.IntentAttachPoint;
+import org.apache.tuscany.policy.model.PolicySetAttachPoint;
+
+
+/**
+ * Describes an implementation and represents its configurable aspects.
+ */
+public interface ComponentType extends Extensible, IntentAttachPoint, PolicySetAttachPoint {
+
+    /**
+     * Returns a list of services that are offered.
+     * @return a list of services that are offered
+     */
+    List<Service> getServices();
+
+    /**
+     * Returns the list of reference types that are used.
+     * @return the list of reference types that are used
+     */
+    List<Reference> getReferences();
+
+    /**
+     * Returns the list of properties that can be set.
+     * @return the list of properties that can be set
+     */
+    List<Property> getProperties();
+
+    /**
+     * Returns a constraining type defining the shape of the implementation.
+     * @return a constraining type
+     */
+    ConstrainingType getConstrainingType();
+    
+    /**
+     * Sets a constraining type defining the shape of the implementation.
+     * @param constrainingType the constraining type to set
+     */
+    void setConstrainingType(ConstrainingType constrainingType);
+
+}

Propchange: incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/ComponentType.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/ComponentType.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/Composite.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/Composite.java?view=auto&rev=517804
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/Composite.java (added)
+++ incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/Composite.java Tue Mar 13 11:23:57 2007
@@ -0,0 +1,85 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+package org.apache.tuscany.assembly.model;
+
+import java.util.List;
+
+import javax.xml.namespace.QName;
+
+
+/**
+ * Represents a composite.
+ */
+public interface Composite extends Implementation {
+
+    /**
+     * Returns the name of the composite.
+     * @return the name of the composite
+     */
+    QName getName();
+
+    /**
+     * Sets the name of the composite.
+     * @param name the name of the composite
+     */
+    void setName(QName name);
+
+    /**
+     * Returns a list of composites included in this composite.
+     * @return a list of composites included in this composite.
+     */
+    List<Composite> getIncludes();
+    
+    /**
+     * Returns a list of components contained in this composite.
+     * @return a list of components contained in this composite
+     */
+    List<Component> getComponents();
+
+    /**
+     * Returns a list of wires contained in this composite.
+     * @return a list of wires contained in this composite
+     */
+    List<Wire> getWires();
+
+    /**
+     * Returns true if all the components within the composite must run in the same process.
+     * @return true if all the components within the composite must run in the same process
+     */
+    boolean isLocal();
+
+    /**
+     * Sets whether all the components within the composite must run in the same process.
+     * @param local whether all the components within the composite must run in the same process
+     */
+    void setLocal(boolean local);
+    
+    /**
+     * Returns true if autowiring is enabled in the composite.
+     * @return true if autowiring is enabled in the composite
+     */
+    boolean isAutowire();
+
+    /**
+     * Sets whether autowiring is enabled in the composite.
+     * @param autowire whether autowiring is enabled in the composite
+     */
+    void setAutowire(boolean autowire);
+    
+}

Propchange: incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/Composite.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/Composite.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/ConstrainingType.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/ConstrainingType.java?view=auto&rev=517804
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/ConstrainingType.java (added)
+++ incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/ConstrainingType.java Tue Mar 13 11:23:57 2007
@@ -0,0 +1,54 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+package org.apache.tuscany.assembly.model;
+
+import java.util.List;
+
+import org.apache.tuscany.assembly.util.Extensible;
+import org.apache.tuscany.assembly.util.Undefinable;
+import org.apache.tuscany.policy.model.IntentAttachPoint;
+
+
+
+/**
+ * A constrainingType provides the "shape" for a component and its implementation.
+ * Any component configuration that points to a constrainingType is constrained by this shape.
+ * The constrainingType specifies the services, references and properties that must be implemented.
+ */
+public interface ConstrainingType extends Extensible, IntentAttachPoint, Undefinable {
+
+    /**
+     * Returns a list of services that are offered.
+     * @return a list of services that are offered
+     */
+    List<AbstractService> getServices();
+
+    /**
+     * Returns the list of references that are used.
+     * @return the list of references that are used
+     */
+    List<AbstractReference> getReferences();
+
+    /**
+     * Returns the list of properties that can be set.
+     * @return the list of properties that can be set
+     */
+    List<AbstractProperty> getProperties();
+
+}

Propchange: incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/ConstrainingType.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/ConstrainingType.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/Implementation.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/Implementation.java?view=auto&rev=517804
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/Implementation.java (added)
+++ incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/Implementation.java Tue Mar 13 11:23:57 2007
@@ -0,0 +1,30 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+package org.apache.tuscany.assembly.model;
+
+import org.apache.tuscany.assembly.util.Undefinable;
+
+
+
+/**
+ * Represents a component implementation.
+ */
+public interface Implementation extends ComponentType, Undefinable {
+
+}

Propchange: incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/Implementation.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/Implementation.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/Property.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/Property.java?view=auto&rev=517804
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/Property.java (added)
+++ incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/Property.java Tue Mar 13 11:23:57 2007
@@ -0,0 +1,32 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+package org.apache.tuscany.assembly.model;
+
+import org.apache.tuscany.assembly.util.Undefinable;
+import org.apache.tuscany.policy.model.PolicySetAttachPoint;
+
+
+/**
+ * A property allows for the configuration of an implementation with externally set data values.
+ * An implementation can have zero or more properties.  Each property has a data type, which may be
+  * either simple or complex.  An implementation may also define a default value for a property.
+ */
+public interface Property extends AbstractProperty, PolicySetAttachPoint, Undefinable {
+    
+}

Propchange: incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/Property.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/Property.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/Service.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/Service.java?view=diff&rev=517804&r1=517803&r2=517804
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/Service.java (original)
+++ incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/Service.java Tue Mar 13 11:23:57 2007
@@ -20,7 +20,6 @@
 
 import java.util.List;
 
-import org.apache.tuscany.assembly.util.Undefinable;
 import org.apache.tuscany.policy.model.PolicySetAttachPoint;
 
 
@@ -28,7 +27,7 @@
  * Represents a service. Services are used to publish services provided by
  * implementations, so that they are addressable by other components.
  */
-public interface Service extends AbstractService, PolicySetAttachPoint, Undefinable {
+public interface Service extends AbstractService, PolicySetAttachPoint {
     
     /**
      * Returns the bindings supported by this service.



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org