You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by me...@apache.org on 2007/02/19 19:40:05 UTC
svn commit: r509290 -
/incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/model/physical/PhysicalComponentDefinition.java
Author: meerajk
Date: Mon Feb 19 10:40:04 2007
New Revision: 509290
URL: http://svn.apache.org/viewvc?view=rev&rev=509290
Log:
Removed wire definitions from PCD.
Modified:
incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/model/physical/PhysicalComponentDefinition.java
Modified: incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/model/physical/PhysicalComponentDefinition.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/model/physical/PhysicalComponentDefinition.java?view=diff&rev=509290&r1=509289&r2=509290
==============================================================================
--- incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/model/physical/PhysicalComponentDefinition.java (original)
+++ incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/model/physical/PhysicalComponentDefinition.java Mon Feb 19 10:40:04 2007
@@ -19,9 +19,6 @@
package org.apache.tuscany.spi.model.physical;
import java.net.URI;
-import java.util.Collections;
-import java.util.HashSet;
-import java.util.Set;
import org.apache.tuscany.spi.model.ModelObject;
@@ -35,9 +32,6 @@
// Component Id.
private final URI componentId;
- // Wires
- private final Set<WireDefinition> wires = new HashSet<WireDefinition>();
-
/**
* Initializes the component id.
*
@@ -59,29 +53,6 @@
*/
public URI getComponentId() {
return componentId;
- }
-
- /**
- * Returns a read-only view of the wires.
- *
- * @return List of wires available on the component.
- */
- public Set<WireDefinition> getWires() {
- return Collections.unmodifiableSet(wires);
- }
-
- /**
- * Adds an wire.
- *
- * @param wire Wire to add to the component.
- */
- public void addWire(WireDefinition wire) {
-
- if (wire == null) {
- throw new IllegalArgumentException("Wire is null");
- }
- wires.add(wire);
-
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org