You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by rf...@apache.org on 2009/10/22 07:46:15 UTC
svn commit: r828316 - in /tuscany/java/sca/modules/deployment/src/main:
java/org/apache/tuscany/sca/deployment/
java/org/apache/tuscany/sca/deployment/impl/
java/org/apache/tuscany/sca/node/ resources/META-INF/services/
Author: rfeng
Date: Thu Oct 22 05:46:14 2009
New Revision: 828316
URL: http://svn.apache.org/viewvc?rev=828316&view=rev
Log:
Expose a DefaultDeployer
Added:
tuscany/java/sca/modules/deployment/src/main/java/org/apache/tuscany/sca/deployment/DefaultDeployer.java (with props)
Removed:
tuscany/java/sca/modules/deployment/src/main/java/org/apache/tuscany/sca/node/
Modified:
tuscany/java/sca/modules/deployment/src/main/java/org/apache/tuscany/sca/deployment/impl/DeployerImpl.java
tuscany/java/sca/modules/deployment/src/main/resources/META-INF/services/org.apache.tuscany.sca.deployment.Deployer
Added: tuscany/java/sca/modules/deployment/src/main/java/org/apache/tuscany/sca/deployment/DefaultDeployer.java
URL: http://svn.apache.org/viewvc/tuscany/java/sca/modules/deployment/src/main/java/org/apache/tuscany/sca/deployment/DefaultDeployer.java?rev=828316&view=auto
==============================================================================
--- tuscany/java/sca/modules/deployment/src/main/java/org/apache/tuscany/sca/deployment/DefaultDeployer.java (added)
+++ tuscany/java/sca/modules/deployment/src/main/java/org/apache/tuscany/sca/deployment/DefaultDeployer.java Thu Oct 22 05:46:14 2009
@@ -0,0 +1,42 @@
+/*
+ * 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.sca.deployment;
+
+import org.apache.tuscany.sca.core.DefaultExtensionPointRegistry;
+import org.apache.tuscany.sca.core.ExtensionPointRegistry;
+import org.apache.tuscany.sca.deployment.impl.DeployerImpl;
+
+/**
+ * Default implementation of Deployer
+ */
+public class DefaultDeployer extends DeployerImpl {
+
+ public DefaultDeployer() {
+ super(new DefaultExtensionPointRegistry());
+ }
+
+ /**
+ * @param registry
+ */
+ public DefaultDeployer(ExtensionPointRegistry registry) {
+ super(registry);
+ }
+
+}
Propchange: tuscany/java/sca/modules/deployment/src/main/java/org/apache/tuscany/sca/deployment/DefaultDeployer.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tuscany/java/sca/modules/deployment/src/main/java/org/apache/tuscany/sca/deployment/DefaultDeployer.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Modified: tuscany/java/sca/modules/deployment/src/main/java/org/apache/tuscany/sca/deployment/impl/DeployerImpl.java
URL: http://svn.apache.org/viewvc/tuscany/java/sca/modules/deployment/src/main/java/org/apache/tuscany/sca/deployment/impl/DeployerImpl.java?rev=828316&r1=828315&r2=828316&view=diff
==============================================================================
--- tuscany/java/sca/modules/deployment/src/main/java/org/apache/tuscany/sca/deployment/impl/DeployerImpl.java (original)
+++ tuscany/java/sca/modules/deployment/src/main/java/org/apache/tuscany/sca/deployment/impl/DeployerImpl.java Thu Oct 22 05:46:14 2009
@@ -109,7 +109,7 @@
super();
this.registry = registry;
}
-
+
public Monitor createMonitor() {
init();
return monitorFactory.createMonitor();
Modified: tuscany/java/sca/modules/deployment/src/main/resources/META-INF/services/org.apache.tuscany.sca.deployment.Deployer
URL: http://svn.apache.org/viewvc/tuscany/java/sca/modules/deployment/src/main/resources/META-INF/services/org.apache.tuscany.sca.deployment.Deployer?rev=828316&r1=828315&r2=828316&view=diff
==============================================================================
--- tuscany/java/sca/modules/deployment/src/main/resources/META-INF/services/org.apache.tuscany.sca.deployment.Deployer (original)
+++ tuscany/java/sca/modules/deployment/src/main/resources/META-INF/services/org.apache.tuscany.sca.deployment.Deployer Thu Oct 22 05:46:14 2009
@@ -14,4 +14,4 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
-org.apache.tuscany.sca.deployment.impl.DeployerImpl
+org.apache.tuscany.sca.deployment.DefaultDeployer