incubator-aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mnutt...@apache.org
Subject svn commit: r898849 - in /incubator/aries/trunk/application/application-runtime: ./ src/ src/main/ src/main/java/ src/main/java/org/ src/main/java/org/apache/ src/main/java/org/apache/aries/ src/main/java/org/apache/aries/application/ src/main/java/org...
Date Wed, 13 Jan 2010 17:24:35 GMT
Author: mnuttall
Date: Wed Jan 13 17:24:34 2010
New Revision: 898849

URL: http://svn.apache.org/viewvc?rev=898849&view=rev
Log:
ARIES-89: Implement application support: Sketch out placeholders for runtime support

Added:
    incubator/aries/trunk/application/application-runtime/pom.xml
    incubator/aries/trunk/application/application-runtime/src/
    incubator/aries/trunk/application/application-runtime/src/main/
    incubator/aries/trunk/application/application-runtime/src/main/java/
    incubator/aries/trunk/application/application-runtime/src/main/java/org/
    incubator/aries/trunk/application/application-runtime/src/main/java/org/apache/
    incubator/aries/trunk/application/application-runtime/src/main/java/org/apache/aries/
    incubator/aries/trunk/application/application-runtime/src/main/java/org/apache/aries/application/
    incubator/aries/trunk/application/application-runtime/src/main/java/org/apache/aries/application/runtime/
    incubator/aries/trunk/application/application-runtime/src/main/java/org/apache/aries/application/runtime/ApplicationContextImpl.java
    incubator/aries/trunk/application/application-runtime/src/main/java/org/apache/aries/application/runtime/ApplicationContextManagerImpl.java
    incubator/aries/trunk/application/application-runtime/src/test/
    incubator/aries/trunk/application/application-runtime/src/test/java/
    incubator/aries/trunk/application/application-runtime/src/test/java/org/
    incubator/aries/trunk/application/application-runtime/src/test/java/org/apache/
    incubator/aries/trunk/application/application-runtime/src/test/java/org/apache/aries/
    incubator/aries/trunk/application/application-runtime/src/test/java/org/apache/aries/application/
    incubator/aries/trunk/application/application-runtime/src/test/java/org/apache/aries/application/runtime/
Modified:
    incubator/aries/trunk/application/application-runtime/   (props changed)

Propchange: incubator/aries/trunk/application/application-runtime/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Wed Jan 13 17:24:34 2010
@@ -0,0 +1,4 @@
+target
+.classpath
+.project
+.settings

Added: incubator/aries/trunk/application/application-runtime/pom.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/application-runtime/pom.xml?rev=898849&view=auto
==============================================================================
--- incubator/aries/trunk/application/application-runtime/pom.xml (added)
+++ incubator/aries/trunk/application/application-runtime/pom.xml Wed Jan 13 17:24:34 2010
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?><project>
+  <parent>
+    <artifactId>application</artifactId>
+    <groupId>org.apache.aries.application</groupId>
+    <version>1.0.0-incubating-SNAPSHOT</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.aries.application</groupId>
+  <artifactId>application-runtime</artifactId>
+  <name>application-runtime</name>
+  <version>1.0.0-incubating-SNAPSHOT</version>
+  <url>http://maven.apache.org</url>
+ <dependencies>
+  	<dependency>
+          <groupId>junit</groupId>
+          <artifactId>junit</artifactId>
+          <scope>test</scope>
+    </dependency>
+    <dependency>
+        <groupId>org.apache.aries.testsupport</groupId>
+        <artifactId>org.apache.aries.testsupport.unit</artifactId>
+        <version>1.0.0-incubating-SNAPSHOT</version>
+        <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-api</artifactId>
+      <version>1.5.6</version>
+    </dependency>
+    <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-simple</artifactId>
+      <version>1.5.6</version>
+      <scope>test</scope>
+      </dependency>    
+    <dependency>
+  		<groupId>org.osgi</groupId>
+  		<artifactId>org.osgi.core</artifactId>
+  		<scope>provided</scope>
+  	</dependency>
+  	<dependency>
+       <groupId>org.apache.aries.application</groupId>
+       <artifactId>org.apache.aries.application.api</artifactId>
+       <version>1.0.0-incubating-SNAPSHOT</version>
+    </dependency>
+  	<dependency>
+  		<groupId>org.osgi</groupId>
+  		<artifactId>org.osgi.compendium</artifactId>
+  		<version>4.2.0</version>
+  		<scope>provided</scope>
+  	</dependency>
+  	<dependency>
+  		<groupId>org.apache.aries.application</groupId>
+  		<artifactId>org.apache.aries.application.utils</artifactId>
+  		<version>1.0.0-incubating-SNAPSHOT</version>
+  	</dependency>
+  </dependencies>
+</project>
\ No newline at end of file

Added: incubator/aries/trunk/application/application-runtime/src/main/java/org/apache/aries/application/runtime/ApplicationContextImpl.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/application-runtime/src/main/java/org/apache/aries/application/runtime/ApplicationContextImpl.java?rev=898849&view=auto
==============================================================================
--- incubator/aries/trunk/application/application-runtime/src/main/java/org/apache/aries/application/runtime/ApplicationContextImpl.java
(added)
+++ incubator/aries/trunk/application/application-runtime/src/main/java/org/apache/aries/application/runtime/ApplicationContextImpl.java
Wed Jan 13 17:24:34 2010
@@ -0,0 +1,55 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 WARRANTIESOR 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.application.runtime;
+
+import java.util.Set;
+
+import org.apache.aries.application.management.ApplicationContext;
+import org.apache.aries.application.management.AriesApplication;
+import org.osgi.framework.Bundle;
+
+public class ApplicationContextImpl implements ApplicationContext {
+
+  public AriesApplication getApplication() {
+    // TODO Auto-generated method stub
+    return null;
+  }
+
+  public Set<Bundle> getApplicationContent() {
+    // TODO Auto-generated method stub
+    return null;
+  }
+
+  public ApplicationState getApplicationState() {
+    // TODO Auto-generated method stub
+    return null;
+  }
+
+  public void start() {
+    // TODO Auto-generated method stub
+    
+  }
+
+  public void stop() {
+    // TODO Auto-generated method stub
+    
+  } 
+  
+}

Added: incubator/aries/trunk/application/application-runtime/src/main/java/org/apache/aries/application/runtime/ApplicationContextManagerImpl.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/application-runtime/src/main/java/org/apache/aries/application/runtime/ApplicationContextManagerImpl.java?rev=898849&view=auto
==============================================================================
--- incubator/aries/trunk/application/application-runtime/src/main/java/org/apache/aries/application/runtime/ApplicationContextManagerImpl.java
(added)
+++ incubator/aries/trunk/application/application-runtime/src/main/java/org/apache/aries/application/runtime/ApplicationContextManagerImpl.java
Wed Jan 13 17:24:34 2010
@@ -0,0 +1,40 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 WARRANTIESOR 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.application.runtime;
+
+import java.util.Set;
+
+import org.apache.aries.application.management.ApplicationContext;
+import org.apache.aries.application.management.ApplicationContextManager;
+import org.apache.aries.application.management.AriesApplication;
+
+public class ApplicationContextManagerImpl implements ApplicationContextManager {
+
+  public ApplicationContext getApplicationContext(AriesApplication app) {
+    // TODO Auto-generated method stub
+    return null;
+  }
+
+  public Set<ApplicationContext> getApplicationContexts() {
+    // TODO Auto-generated method stub
+    return null;
+  }
+
+}



Mime
View raw message