Expose a DefaultDeployer
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@828316 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f706ccab9f
commit
529069d71b
3 changed files with 44 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -109,7 +109,7 @@ public class DeployerImpl implements Deployer {
|
|||
super();
|
||||
this.registry = registry;
|
||||
}
|
||||
|
||||
|
||||
public Monitor createMonitor() {
|
||||
init();
|
||||
return monitorFactory.createMonitor();
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue