X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=runtime%2Forg.argeo.slc.specs%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fdeploy%2FDynamicRuntime.java;h=3a74ffebc17d8483f4dd032273391e71c1f74fad;hb=155404c8fe688647c2b30be45302fae4620ce4d9;hp=e2552732abebcb2d3f170f820df3095363287a58;hpb=1535eecc68ecbda4e67e158de6bcecd074db2545;p=gpl%2Fargeo-slc.git diff --git a/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/deploy/DynamicRuntime.java b/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/deploy/DynamicRuntime.java index e2552732a..3a74ffebc 100644 --- a/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/deploy/DynamicRuntime.java +++ b/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/deploy/DynamicRuntime.java @@ -1,7 +1,34 @@ +/* + * Copyright (C) 2010 Mathieu Baudier + * + * Licensed 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.argeo.slc.deploy; +import org.argeo.slc.NameVersion; +import org.argeo.slc.build.Distribution; + public interface DynamicRuntime extends ModularDeployedSystem { public void shutdown(); + public M installModule(Distribution distribution); + + public void uninstallModule(NameVersion nameVersion); + + public void updateModule(NameVersion nameVersion); + + public void startModule(NameVersion nameVersion); + }