]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/deploy/Module.java
Update headers
[gpl/argeo-slc.git] / runtime / org.argeo.slc.specs / src / main / java / org / argeo / slc / deploy / Module.java
index 57e38792421ed042381de62a54d598a1b9e6bec2..f0026952671dee567efc771af33614acf00a332f 100644 (file)
@@ -1,9 +1,27 @@
+/*
+ * Copyright (C) 2007-2012 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.build.Distribution;
+import org.argeo.slc.NameVersion;
 
-public interface Module<D extends Distribution> extends DeployedSystem<D> {
-       public String getName();
-
-       public String getVersion();
+/**
+ * Represents a deployed module of a broader deployed system. A module is
+ * uniquely identifiable via a name / version.
+ */
+public interface Module extends DeployedSystem, NameVersion {
+       /** A serializable stateless description of the module */
+       public ModuleDescriptor getModuleDescriptor();
 }