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/03/12 00:17:12 UTC
svn commit: r517043 - in
/incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/wire/physical:
./ WireAttacher.java
Author: meerajk
Date: Sun Mar 11 16:17:12 2007
New Revision: 517043
URL: http://svn.apache.org/viewvc?view=rev&rev=517043
Log:
Initial cut of the wire attacher.
Added:
incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/wire/physical/
incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/wire/physical/WireAttacher.java (with props)
Added: incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/wire/physical/WireAttacher.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/wire/physical/WireAttacher.java?view=auto&rev=517043
==============================================================================
--- incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/wire/physical/WireAttacher.java (added)
+++ incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/wire/physical/WireAttacher.java Sun Mar 11 16:17:12 2007
@@ -0,0 +1,51 @@
+/*
+ * 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.spi.wire.physical;
+
+import org.apache.tuscany.spi.component.Component;
+import org.apache.tuscany.spi.model.physical.PhysicalWireSourceDefinition;
+import org.apache.tuscany.spi.model.physical.PhysicalWireTargetDefinition;
+
+/**
+ * Abstraction for the wire attacher.
+ *
+ * @version $Date$ $Revision$
+ */
+public interface WireAttacher<C extends Component,
+ PWSD extends PhysicalWireSourceDefinition,
+ PWTD extends PhysicalWireTargetDefinition> {
+
+ /**
+ * Attaches the source to the component.
+ *
+ * @param component Component.
+ * @param source Source.
+ */
+ void attach(C component, PWSD source);
+
+ /**
+ * Attaches the target to the component.
+ *
+ * @param component Component.
+ * @param target Target.
+ */
+ void attach(C component, PWTD target);
+
+}
Propchange: incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/wire/physical/WireAttacher.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/wire/physical/WireAttacher.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org