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=231d52af99ef6dadeab7fcb401b720b6ffd6e254;hb=d4bd245768d2e2b3f94928b3db5a01380857e8b8;hp=16d727a2cca137cc836c6d2505d10c11e649cad4;hpb=c013d066971b9ac23b7b488bd1cc6193c83b6227;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 16d727a2c..231d52af9 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,8 +1,33 @@ +/* + * Copyright (C) 2007-2012 Argeo GmbH + * + * 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; -@SuppressWarnings("unchecked") +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); + }