aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwr...@apache.org
Subject svn commit: r1162586 - in /aries/trunk/subsystem: subsystem-core/src/main/java/org/apache/aries/subsystem/core/archive/ subsystem-itests/src/test/resources/application1/ subsystem-itests/src/test/resources/feature1/ subsystem-itests/src/test/resources/...
Date Sun, 28 Aug 2011 20:41:11 GMT
Author: jwross
Date: Sun Aug 28 20:41:11 2011
New Revision: 1162586

URL: http://svn.apache.org/viewvc?rev=1162586&view=rev
Log:
ARIES-737: Provide initial support for embedded subsystems.

Added:
    aries/trunk/subsystem/subsystem-core/src/main/java/org/apache/aries/subsystem/core/archive/StartOrderDirective.java
Modified:
    aries/trunk/subsystem/subsystem-itests/src/test/resources/application1/tb1.jar
    aries/trunk/subsystem/subsystem-itests/src/test/resources/feature1/tb1.jar
    aries/trunk/subsystem/subsystem-itests/src/test/resources/feature2/tb2.jar

Added: aries/trunk/subsystem/subsystem-core/src/main/java/org/apache/aries/subsystem/core/archive/StartOrderDirective.java
URL: http://svn.apache.org/viewvc/aries/trunk/subsystem/subsystem-core/src/main/java/org/apache/aries/subsystem/core/archive/StartOrderDirective.java?rev=1162586&view=auto
==============================================================================
--- aries/trunk/subsystem/subsystem-core/src/main/java/org/apache/aries/subsystem/core/archive/StartOrderDirective.java
(added)
+++ aries/trunk/subsystem/subsystem-core/src/main/java/org/apache/aries/subsystem/core/archive/StartOrderDirective.java
Sun Aug 28 20:41:11 2011
@@ -0,0 +1,31 @@
+/*
+ * 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.apache.aries.subsystem.core.archive;
+
+public class StartOrderDirective extends AbstractDirective {
+	public static final int DEFAULT_VALUE = 1;
+	// TODO Add to constants.
+	public static final String NAME = "start-order";
+	
+	private final int startOrder;
+	
+	public StartOrderDirective(String value) {
+		super(NAME, value);
+		this.startOrder = Integer.parseInt(value);
+	}
+
+	public int getStartOrder() {
+		return startOrder;
+	}
+}



Mime
View raw message