]>
git.argeo.org Git - gpl/argeo-slc.git/blob - org/argeo/slc/deploy/ModulesManager.java
1 package org
.argeo
.slc
.deploy
;
5 import org
.argeo
.slc
.NameVersion
;
7 /** Provides access to deployed modules */
8 public interface ModulesManager
{
9 /** @return a full fledged module descriptor. */
10 public ModuleDescriptor
getModuleDescriptor(String moduleName
,
14 * @return a list of minimal module descriptors of the deployed modules
16 public List
<ModuleDescriptor
> listModules();
18 /** Synchronously upgrades the module referenced by this name version */
19 public void upgrade(NameVersion nameVersion
);
21 /** Starts the module */
22 public void start(NameVersion nameVersion
);
24 /** Stops the module */
25 public void stop(NameVersion nameVersion
);