You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by ga...@apache.org on 2010/01/15 03:17:41 UTC
svn commit: r899518 [1/7] - in /incubator/aries/trunk/application: ./
application-api/ application-api/src/main/java/org/apache/aries/application/
application-api/src/main/java/org/apache/aries/application/filesystem/
application-api/src/main/java/org/...
Author: gawor
Date: Fri Jan 15 02:17:38 2010
New Revision: 899518
URL: http://svn.apache.org/viewvc?rev=899518&view=rev
Log:
set svn properties. no other changes
Modified:
incubator/aries/trunk/application/application-api/pom.xml (props changed)
incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/ApplicationMetadata.java (contents, props changed)
incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/ApplicationMetadataManager.java (props changed)
incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/Content.java (contents, props changed)
incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/DeploymentContent.java (contents, props changed)
incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/DeploymentMetadata.java (contents, props changed)
incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/DeploymentMetadataFactory.java (contents, props changed)
incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/ServiceDeclaration.java (props changed)
incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/VersionRange.java (contents, props changed)
incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/filesystem/IDirectory.java (contents, props changed)
incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/filesystem/IFile.java (contents, props changed)
incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/ApplicationContext.java (contents, props changed)
incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/ApplicationContextManager.java (contents, props changed)
incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/ApplicationEvent.java (contents, props changed)
incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/ApplicationListener.java (contents, props changed)
incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/AriesApplication.java (contents, props changed)
incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/AriesApplicationManager.java (contents, props changed)
incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/AriesApplicationResolver.java (contents, props changed)
incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/BundleConverter.java (contents, props changed)
incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/BundleInfo.java (contents, props changed)
incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/ConversionException.java (contents, props changed)
incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/LocalPlatform.java (contents, props changed)
incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/ManagementException.java (contents, props changed)
incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/ResolveConstraint.java (contents, props changed)
incubator/aries/trunk/application/application-converters/pom.xml (props changed)
incubator/aries/trunk/application/application-converters/src/main/java/org/apache/aries/application/converters/WabConverterService.java (props changed)
incubator/aries/trunk/application/application-converters/src/main/resources/OSGI-INF/blueprint/aries.xml (props changed)
incubator/aries/trunk/application/application-management/pom.xml (contents, props changed)
incubator/aries/trunk/application/application-management/src/main/java/org/apache/aries/application/management/impl/AriesApplicationImpl.java (contents, props changed)
incubator/aries/trunk/application/application-management/src/main/java/org/apache/aries/application/management/impl/AriesApplicationManagerImpl.java (contents, props changed)
incubator/aries/trunk/application/application-management/src/main/java/org/apache/aries/application/management/impl/BundleInfoImpl.java (contents, props changed)
incubator/aries/trunk/application/application-management/src/main/java/org/apache/aries/application/management/internal/MessageUtil.java (contents, props changed)
incubator/aries/trunk/application/application-management/src/main/resources/OSGI-INF/blueprint/app-management.xml (contents, props changed)
incubator/aries/trunk/application/application-management/src/test/java/org/apache/aries/application/management/impl/AriesApplicationManagerImplTest.java (contents, props changed)
incubator/aries/trunk/application/application-management/src/test/java/org/apache/aries/unittest/utils/EbaUnitTestUtils.java (contents, props changed)
incubator/aries/trunk/application/application-runtime/pom.xml (props changed)
incubator/aries/trunk/application/application-runtime/src/main/java/org/apache/aries/application/runtime/impl/ApplicationContextImpl.java (contents, props changed)
incubator/aries/trunk/application/application-runtime/src/main/java/org/apache/aries/application/runtime/impl/ApplicationContextManagerImpl.java (contents, props changed)
incubator/aries/trunk/application/application-runtime/src/main/resources/OSGI-INF/blueprint/app-context-management.xml (contents, props changed)
incubator/aries/trunk/application/application-utils/pom.xml (props changed)
incubator/aries/trunk/application/application-utils/src/main/java/org/apache/aries/application/impl/ApplicationMetadataImpl.java (contents, props changed)
incubator/aries/trunk/application/application-utils/src/main/java/org/apache/aries/application/impl/ApplicationMetadataManagerImpl.java (props changed)
incubator/aries/trunk/application/application-utils/src/main/java/org/apache/aries/application/impl/ApplicationMetadataManagerServiceImpl.java (props changed)
incubator/aries/trunk/application/application-utils/src/main/java/org/apache/aries/application/impl/ContentImpl.java (contents, props changed)
incubator/aries/trunk/application/application-utils/src/main/java/org/apache/aries/application/impl/DeploymentContentImpl.java (contents, props changed)
incubator/aries/trunk/application/application-utils/src/main/java/org/apache/aries/application/impl/DeploymentMetadataFactoryImpl.java (contents, props changed)
incubator/aries/trunk/application/application-utils/src/main/java/org/apache/aries/application/impl/DeploymentMetadataImpl.java (contents, props changed)
incubator/aries/trunk/application/application-utils/src/main/java/org/apache/aries/application/impl/ServiceDeclarationImpl.java (contents, props changed)
incubator/aries/trunk/application/application-utils/src/main/java/org/apache/aries/application/impl/VersionRangeImpl.java (contents, props changed)
incubator/aries/trunk/application/application-utils/src/main/java/org/apache/aries/application/utils/AppConstants.java (props changed)
incubator/aries/trunk/application/application-utils/src/main/java/org/apache/aries/application/utils/filesystem/FileSystem.java (contents, props changed)
incubator/aries/trunk/application/application-utils/src/main/java/org/apache/aries/application/utils/filesystem/IOUtils.java (contents, props changed)
incubator/aries/trunk/application/application-utils/src/main/java/org/apache/aries/application/utils/filesystem/impl/DirectoryImpl.java (contents, props changed)
incubator/aries/trunk/application/application-utils/src/main/java/org/apache/aries/application/utils/filesystem/impl/FileImpl.java (contents, props changed)
incubator/aries/trunk/application/application-utils/src/main/java/org/apache/aries/application/utils/filesystem/impl/ZipDirectory.java (contents, props changed)
incubator/aries/trunk/application/application-utils/src/main/java/org/apache/aries/application/utils/filesystem/impl/ZipFileImpl.java (contents, props changed)
incubator/aries/trunk/application/application-utils/src/main/java/org/apache/aries/application/utils/internal/MessageUtil.java (contents, props changed)
incubator/aries/trunk/application/application-utils/src/main/java/org/apache/aries/application/utils/manifest/BundleManifest.java (contents, props changed)
incubator/aries/trunk/application/application-utils/src/main/java/org/apache/aries/application/utils/manifest/ManifestDefaultsInjector.java (contents, props changed)
incubator/aries/trunk/application/application-utils/src/main/java/org/apache/aries/application/utils/manifest/ManifestHeaderProcessor.java (contents, props changed)
incubator/aries/trunk/application/application-utils/src/main/java/org/apache/aries/application/utils/manifest/ManifestProcessor.java (props changed)
incubator/aries/trunk/application/application-utils/src/main/resources/OSGI-INF/blueprint/app-utils.xml (props changed)
incubator/aries/trunk/application/application-utils/src/test/java/org/apache/aries/application/impl/ApplicationMetadataImplTest.java (props changed)
incubator/aries/trunk/application/application-utils/src/test/java/org/apache/aries/application/impl/DeploymentContentImplTest.java (contents, props changed)
incubator/aries/trunk/application/application-utils/src/test/java/org/apache/aries/application/impl/VersionRangeTest.java (props changed)
incubator/aries/trunk/application/application-utils/src/test/java/org/apache/aries/application/utils/filesystem/FileSystemTest.java (contents, props changed)
incubator/aries/trunk/application/application-utils/src/test/java/org/apache/aries/application/utils/filesystem/IOUtilsTest.java (contents, props changed)
incubator/aries/trunk/application/application-utils/src/test/java/org/apache/aries/application/utils/manifest/BundleManifestTest.java (contents, props changed)
incubator/aries/trunk/application/application-utils/src/test/java/org/apache/aries/application/utils/manifest/ManifestHeaderProcessorTest.java (contents, props changed)
incubator/aries/trunk/application/application-utils/src/test/java/org/apache/aries/application/utils/manifest/ManifestProcessorTest.java (contents, props changed)
incubator/aries/trunk/application/pom.xml (props changed)
Propchange: incubator/aries/trunk/application/application-api/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/aries/trunk/application/application-api/pom.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/aries/trunk/application/application-api/pom.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Modified: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/ApplicationMetadata.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/ApplicationMetadata.java?rev=899518&r1=899517&r2=899518&view=diff
==============================================================================
--- incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/ApplicationMetadata.java (original)
+++ incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/ApplicationMetadata.java Fri Jan 15 02:17:38 2010
@@ -1,80 +1,80 @@
-/*
- * 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;
-
-import java.io.File;
-import java.io.IOException;
-import java.io.OutputStream;
-import java.util.List;
-
-import org.osgi.framework.Version;
-
-/**
- * this interface describes the Application.mf file
- *
- */
-public interface ApplicationMetadata
-{
- /**
- * get the value of the Application-SymbolicName header
- * @return the value of the Application-SymbolicName header
- */
- public String getApplicationSymbolicName();
-
- /**
- * get the value of the Application-Version header
- * @return the value of the Application-Version header
- */
- public Version getApplicationVersion();
-
- /**
- * get the name of the application
- * @return the name of the application
- */
- public String getApplicationName();
- /**
- * get the list of Application contents includes bundle name,
- * version, directives and attributes
- * @return the list of the Application contents
- */
- public List<Content> getApplicationContents();
-
- /**
- * get the value of the Export-Service header
- * @return the list of ServiceDeclaration
- */
- public List<ServiceDeclaration> getApplicationExportServices();
-
- /**
- * get the value of the Import-Service header
- * @return the list of ServiceDeclaration
- */
- public List<ServiceDeclaration> getApplicationImportServices();
-
- /**
- * get the value of the Application-Scope, which is
- * calculated from Application-SymbolicName and Application-Version
- * @return the value of the AppScope
- */
- public String getApplicationScope();
-
- /** Stores any changes to disk using this implementation's storage form */
- public void store(File f) throws IOException;
- public void store(OutputStream out) throws IOException;
-}
+/*
+ * 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;
+
+import java.io.File;
+import java.io.IOException;
+import java.io.OutputStream;
+import java.util.List;
+
+import org.osgi.framework.Version;
+
+/**
+ * this interface describes the Application.mf file
+ *
+ */
+public interface ApplicationMetadata
+{
+ /**
+ * get the value of the Application-SymbolicName header
+ * @return the value of the Application-SymbolicName header
+ */
+ public String getApplicationSymbolicName();
+
+ /**
+ * get the value of the Application-Version header
+ * @return the value of the Application-Version header
+ */
+ public Version getApplicationVersion();
+
+ /**
+ * get the name of the application
+ * @return the name of the application
+ */
+ public String getApplicationName();
+ /**
+ * get the list of Application contents includes bundle name,
+ * version, directives and attributes
+ * @return the list of the Application contents
+ */
+ public List<Content> getApplicationContents();
+
+ /**
+ * get the value of the Export-Service header
+ * @return the list of ServiceDeclaration
+ */
+ public List<ServiceDeclaration> getApplicationExportServices();
+
+ /**
+ * get the value of the Import-Service header
+ * @return the list of ServiceDeclaration
+ */
+ public List<ServiceDeclaration> getApplicationImportServices();
+
+ /**
+ * get the value of the Application-Scope, which is
+ * calculated from Application-SymbolicName and Application-Version
+ * @return the value of the AppScope
+ */
+ public String getApplicationScope();
+
+ /** Stores any changes to disk using this implementation's storage form */
+ public void store(File f) throws IOException;
+ public void store(OutputStream out) throws IOException;
+}
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/ApplicationMetadata.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/ApplicationMetadata.java
('svn:executable' removed)
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/ApplicationMetadata.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/ApplicationMetadata.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/ApplicationMetadataManager.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/ApplicationMetadataManager.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/ApplicationMetadataManager.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/Content.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/Content.java?rev=899518&r1=899517&r2=899518&view=diff
==============================================================================
--- incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/Content.java (original)
+++ incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/Content.java Fri Jan 15 02:17:38 2010
@@ -1,74 +1,74 @@
-/*
- * 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;
-
-import java.util.Map;
-
-
-/**
- * this interface describes the content metadata such as Application-Content, Import-Package, etc
- *
- */
-public interface Content
-{
- /**
- * get the package name of the content
- * @return the package name of the content
- */
- public String getContentName();
-
- /**
- * get the attributes of the content
- * @return the attributes of the content
- */
- public Map<String, String> getAttributes();
-
- /**
- * get the directives of the content
- * @return the directives of the content
- */
- public Map<String, String> getDirectives();
-
- /**
- * get the value of the attribute with the specified key
- * @param key
- * @return value of the attribute specified by the key
- */
- public String getAttribute(String key);
-
- /**
- * get the value of the directive with the specified key
- * @param key
- * @return the value of the directive specified by the key
- */
- public String getDirective(String key);
-
- /**
- * get the version info for the version attribute
- * @return null if there is no version associated with this content
- * ASK ALASDAIR: should we return default version 0.0.0 instead of null?
- */
- public VersionRange getVersion();
-
- /**
- * get the attribute and directive info in NameValueMap
- * @return namevalueMap that contains attribute and directive info
- */
- public Map<String, String> getNameValueMap();
-}
+/*
+ * 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;
+
+import java.util.Map;
+
+
+/**
+ * this interface describes the content metadata such as Application-Content, Import-Package, etc
+ *
+ */
+public interface Content
+{
+ /**
+ * get the package name of the content
+ * @return the package name of the content
+ */
+ public String getContentName();
+
+ /**
+ * get the attributes of the content
+ * @return the attributes of the content
+ */
+ public Map<String, String> getAttributes();
+
+ /**
+ * get the directives of the content
+ * @return the directives of the content
+ */
+ public Map<String, String> getDirectives();
+
+ /**
+ * get the value of the attribute with the specified key
+ * @param key
+ * @return value of the attribute specified by the key
+ */
+ public String getAttribute(String key);
+
+ /**
+ * get the value of the directive with the specified key
+ * @param key
+ * @return the value of the directive specified by the key
+ */
+ public String getDirective(String key);
+
+ /**
+ * get the version info for the version attribute
+ * @return null if there is no version associated with this content
+ * ASK ALASDAIR: should we return default version 0.0.0 instead of null?
+ */
+ public VersionRange getVersion();
+
+ /**
+ * get the attribute and directive info in NameValueMap
+ * @return namevalueMap that contains attribute and directive info
+ */
+ public Map<String, String> getNameValueMap();
+}
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/Content.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/Content.java
('svn:executable' removed)
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/Content.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/Content.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/DeploymentContent.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/DeploymentContent.java?rev=899518&r1=899517&r2=899518&view=diff
==============================================================================
--- incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/DeploymentContent.java (original)
+++ incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/DeploymentContent.java Fri Jan 15 02:17:38 2010
@@ -1,37 +1,37 @@
-/*
- * 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;
-
-import org.osgi.framework.Version;
-
-/**
- * An entry in DEPLOYMENT.MF's Deployed-Content header
- *
- */
-public interface DeploymentContent extends Content {
-
- /**
- * get the exact version of the deployment content
- * this cannot be null
- * @return the exact version
- */
- public Version getExactVersion();
-
-}
+/*
+ * 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;
+
+import org.osgi.framework.Version;
+
+/**
+ * An entry in DEPLOYMENT.MF's Deployed-Content header
+ *
+ */
+public interface DeploymentContent extends Content {
+
+ /**
+ * get the exact version of the deployment content
+ * this cannot be null
+ * @return the exact version
+ */
+ public Version getExactVersion();
+
+}
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/DeploymentContent.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/DeploymentContent.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/DeploymentContent.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/DeploymentMetadata.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/DeploymentMetadata.java?rev=899518&r1=899517&r2=899518&view=diff
==============================================================================
--- incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/DeploymentMetadata.java (original)
+++ incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/DeploymentMetadata.java Fri Jan 15 02:17:38 2010
@@ -1,63 +1,63 @@
-/*
- * 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;
-
-import java.io.File;
-import java.io.IOException;
-import java.io.OutputStream;
-import java.util.List;
-
-import org.osgi.framework.Version;
-
-/**
- * Represents the parsed contents of a DEPLOYMENT.MF file
- *
- */
-public interface DeploymentMetadata {
-
- /**
- * get the value of the Application-SymbolicName header
- * @return the value of the Application-SymbolicName header
- */
- public String getApplicationSymbolicName();
-
- /**
- * get the value of the Application-Version header
- * @return the value of the Application-Version header
- */
- public Version getApplicationVersion();
-
- /**
- * get the value of the Deployed-Content header
- * @return the list of the deployed content
- */
- public List<DeploymentContent> getApplicationDeploymentContents();
-
- /**
- * return the application this deployment metadata is associated with.
- *
- * @return the application.
- */
- public ApplicationMetadata getApplicationMetadata();
-
- /** Stores any changes to disk using this implementation's storage form */
- public void store(File f) throws IOException;
- public void store(OutputStream in) throws IOException;
-}
+/*
+ * 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;
+
+import java.io.File;
+import java.io.IOException;
+import java.io.OutputStream;
+import java.util.List;
+
+import org.osgi.framework.Version;
+
+/**
+ * Represents the parsed contents of a DEPLOYMENT.MF file
+ *
+ */
+public interface DeploymentMetadata {
+
+ /**
+ * get the value of the Application-SymbolicName header
+ * @return the value of the Application-SymbolicName header
+ */
+ public String getApplicationSymbolicName();
+
+ /**
+ * get the value of the Application-Version header
+ * @return the value of the Application-Version header
+ */
+ public Version getApplicationVersion();
+
+ /**
+ * get the value of the Deployed-Content header
+ * @return the list of the deployed content
+ */
+ public List<DeploymentContent> getApplicationDeploymentContents();
+
+ /**
+ * return the application this deployment metadata is associated with.
+ *
+ * @return the application.
+ */
+ public ApplicationMetadata getApplicationMetadata();
+
+ /** Stores any changes to disk using this implementation's storage form */
+ public void store(File f) throws IOException;
+ public void store(OutputStream in) throws IOException;
+}
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/DeploymentMetadata.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/DeploymentMetadata.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/DeploymentMetadata.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/DeploymentMetadataFactory.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/DeploymentMetadataFactory.java?rev=899518&r1=899517&r2=899518&view=diff
==============================================================================
--- incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/DeploymentMetadataFactory.java (original)
+++ incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/DeploymentMetadataFactory.java Fri Jan 15 02:17:38 2010
@@ -1,44 +1,44 @@
-/*
- * 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;
-
-import java.io.IOException;
-import java.util.Set;
-
-import org.apache.aries.application.filesystem.IFile;
-import org.apache.aries.application.management.AriesApplication;
-import org.apache.aries.application.management.BundleInfo;
-
-public interface DeploymentMetadataFactory {
-
- /**
- * Create a DeploymentMetadata instance
- * @param app The AriesApplication in question
- * @param bundleInfo A resolved set of BundleInfo objects
- * @return
- */
- public DeploymentMetadata createDeploymentMetadata (AriesApplication app, Set<BundleInfo> bundleInfo);
-
- /**
- * Create a DeploymentMetadata instance from an IFile
- */
- public DeploymentMetadata createDeploymentMetadata (IFile src) throws IOException;
-
-}
+/*
+ * 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;
+
+import java.io.IOException;
+import java.util.Set;
+
+import org.apache.aries.application.filesystem.IFile;
+import org.apache.aries.application.management.AriesApplication;
+import org.apache.aries.application.management.BundleInfo;
+
+public interface DeploymentMetadataFactory {
+
+ /**
+ * Create a DeploymentMetadata instance
+ * @param app The AriesApplication in question
+ * @param bundleInfo A resolved set of BundleInfo objects
+ * @return
+ */
+ public DeploymentMetadata createDeploymentMetadata (AriesApplication app, Set<BundleInfo> bundleInfo);
+
+ /**
+ * Create a DeploymentMetadata instance from an IFile
+ */
+ public DeploymentMetadata createDeploymentMetadata (IFile src) throws IOException;
+
+}
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/DeploymentMetadataFactory.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/DeploymentMetadataFactory.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/DeploymentMetadataFactory.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/ServiceDeclaration.java
('svn:executable' removed)
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/ServiceDeclaration.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/ServiceDeclaration.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/VersionRange.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/VersionRange.java?rev=899518&r1=899517&r2=899518&view=diff
==============================================================================
--- incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/VersionRange.java (original)
+++ incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/VersionRange.java Fri Jan 15 02:17:38 2010
@@ -1,75 +1,75 @@
-/*
- * 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;
-
-import org.osgi.framework.Version;
-
-public interface VersionRange
-{
- /**
- * this method returns the exact version from the versionInfo obj.
- * this is used for DeploymentContent only to return a valid exact version
- * otherwise, null is returned.
- * @return
- */
- public abstract Version getExactVersion();
-
- /**
- * get the maximum version
- * @return the maximum version
- */
- public abstract Version getMaximumVersion();
-
- /**
- * get the minimum version
- * @return the minimum version
- */
- public abstract Version getMinimumVersion();
-
- /**
- * is the maximum version exclusive
- * @return
- */
- public abstract boolean isMaximumExclusive();
-
- /**
- * is the maximum version unbounded
- * @return
- */
- public abstract boolean isMaximumUnbounded();
-
- /**
- * is the minimum version exclusive
- * @return
- */
- public abstract boolean isMinimumExclusive();
-
- /**
- * check if the versioninfo is the exact version
- * @return
- */
- public abstract boolean isExactVersion();
- /**
- * This method tests to see if the provided version is inside this range.
- *
- * @param version the version to test.
- * @return true if the version matches, false otherwise.
- */
- public boolean matches(Version version);
+/*
+ * 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;
+
+import org.osgi.framework.Version;
+
+public interface VersionRange
+{
+ /**
+ * this method returns the exact version from the versionInfo obj.
+ * this is used for DeploymentContent only to return a valid exact version
+ * otherwise, null is returned.
+ * @return
+ */
+ public abstract Version getExactVersion();
+
+ /**
+ * get the maximum version
+ * @return the maximum version
+ */
+ public abstract Version getMaximumVersion();
+
+ /**
+ * get the minimum version
+ * @return the minimum version
+ */
+ public abstract Version getMinimumVersion();
+
+ /**
+ * is the maximum version exclusive
+ * @return
+ */
+ public abstract boolean isMaximumExclusive();
+
+ /**
+ * is the maximum version unbounded
+ * @return
+ */
+ public abstract boolean isMaximumUnbounded();
+
+ /**
+ * is the minimum version exclusive
+ * @return
+ */
+ public abstract boolean isMinimumExclusive();
+
+ /**
+ * check if the versioninfo is the exact version
+ * @return
+ */
+ public abstract boolean isExactVersion();
+ /**
+ * This method tests to see if the provided version is inside this range.
+ *
+ * @param version the version to test.
+ * @return true if the version matches, false otherwise.
+ */
+ public boolean matches(Version version);
}
\ No newline at end of file
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/VersionRange.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/VersionRange.java
('svn:executable' removed)
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/VersionRange.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/VersionRange.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/filesystem/IDirectory.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/filesystem/IDirectory.java?rev=899518&r1=899517&r2=899518&view=diff
==============================================================================
--- incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/filesystem/IDirectory.java (original)
+++ incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/filesystem/IDirectory.java Fri Jan 15 02:17:38 2010
@@ -1,47 +1,47 @@
-/*
- * 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.filesystem;
-
-import java.util.List;
-
-/**
- * A virtual directory in a file system.
- */
-public interface IDirectory extends Iterable<IFile>, IFile
-{
- /**
- * @return the list of files in this directory. Files must be in this directory
- * and not in sub-directories.
- */
- public List<IFile> listFiles();
- /**
- * Gets the requested file under this directory. The file may be located any
- * number of levels within this directory. The name is relative to this
- * directory. If the file cannot be found it will return null.
- *
- * @param name the name of the file.
- * @return the IFile, or null if no such file exists.
- */
- public IFile getFile(String name);
- /**
- * @return true if this IDirectory is the root of the virtual file system.
- */
- public boolean isRoot();
+/*
+ * 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.filesystem;
+
+import java.util.List;
+
+/**
+ * A virtual directory in a file system.
+ */
+public interface IDirectory extends Iterable<IFile>, IFile
+{
+ /**
+ * @return the list of files in this directory. Files must be in this directory
+ * and not in sub-directories.
+ */
+ public List<IFile> listFiles();
+ /**
+ * Gets the requested file under this directory. The file may be located any
+ * number of levels within this directory. The name is relative to this
+ * directory. If the file cannot be found it will return null.
+ *
+ * @param name the name of the file.
+ * @return the IFile, or null if no such file exists.
+ */
+ public IFile getFile(String name);
+ /**
+ * @return true if this IDirectory is the root of the virtual file system.
+ */
+ public boolean isRoot();
}
\ No newline at end of file
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/filesystem/IDirectory.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/filesystem/IDirectory.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/filesystem/IDirectory.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/filesystem/IFile.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/filesystem/IFile.java?rev=899518&r1=899517&r2=899518&view=diff
==============================================================================
--- incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/filesystem/IFile.java (original)
+++ incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/filesystem/IFile.java Fri Jan 15 02:17:38 2010
@@ -1,83 +1,83 @@
-/*
- * 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.filesystem;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.net.MalformedURLException;
-import java.net.URL;
-
-/**
- * A virtual file on the virtual file system. This may represent a file or a
- * directory.
- */
-public interface IFile
-{
- /**
- * @return the name of the file relative to the root of the virtual FS.
- */
- public String getName();
- /**
- * @return true iff this IFile is also an IDirectory
- */
- public boolean isDirectory();
- /**
- * @return true iff this IFile is not an IDirectory
- */
- public boolean isFile();
- /**
- * @return the last modified date of the file.
- */
- public long getLastModified();
- /**
- * @return the size of the file.
- */
- public long getSize();
-
- /**
- * @return if this is a directory return this as an IDirectory, otherwise return null.
- */
- public IDirectory convert();
-
- /**
- * @return returns the parent directory of this IFile, or null if this is the root.
- */
- public IDirectory getParent();
-
- /**
- * The input stream returned by this method should always be closed after use.
- *
- * @return An InputStream to read the file from.
- *
- * @throws IOException
- * @throws UnsupportedOperationException If the IFile is also an IDirectory.
- */
- public InputStream open() throws IOException, UnsupportedOperationException;
-
- /**
- * @return the root of this file system.
- */
- public IDirectory getRoot();
- /**
- * @return a URL that can be used to get at this file at a later date.
- * @throws MalformedURLException
- */
- public URL toURL() throws MalformedURLException ;
-}
+/*
+ * 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.filesystem;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.net.MalformedURLException;
+import java.net.URL;
+
+/**
+ * A virtual file on the virtual file system. This may represent a file or a
+ * directory.
+ */
+public interface IFile
+{
+ /**
+ * @return the name of the file relative to the root of the virtual FS.
+ */
+ public String getName();
+ /**
+ * @return true iff this IFile is also an IDirectory
+ */
+ public boolean isDirectory();
+ /**
+ * @return true iff this IFile is not an IDirectory
+ */
+ public boolean isFile();
+ /**
+ * @return the last modified date of the file.
+ */
+ public long getLastModified();
+ /**
+ * @return the size of the file.
+ */
+ public long getSize();
+
+ /**
+ * @return if this is a directory return this as an IDirectory, otherwise return null.
+ */
+ public IDirectory convert();
+
+ /**
+ * @return returns the parent directory of this IFile, or null if this is the root.
+ */
+ public IDirectory getParent();
+
+ /**
+ * The input stream returned by this method should always be closed after use.
+ *
+ * @return An InputStream to read the file from.
+ *
+ * @throws IOException
+ * @throws UnsupportedOperationException If the IFile is also an IDirectory.
+ */
+ public InputStream open() throws IOException, UnsupportedOperationException;
+
+ /**
+ * @return the root of this file system.
+ */
+ public IDirectory getRoot();
+ /**
+ * @return a URL that can be used to get at this file at a later date.
+ * @throws MalformedURLException
+ */
+ public URL toURL() throws MalformedURLException ;
+}
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/filesystem/IFile.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/filesystem/IFile.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/filesystem/IFile.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/ApplicationContext.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/ApplicationContext.java?rev=899518&r1=899517&r2=899518&view=diff
==============================================================================
--- incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/ApplicationContext.java (original)
+++ incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/ApplicationContext.java Fri Jan 15 02:17:38 2010
@@ -1,42 +1,42 @@
-/*
- * 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.management;
-
-import java.util.Set;
-
-import org.osgi.framework.Bundle;
-import org.osgi.framework.BundleException;
-
-/**
- * Represents an Aries application in the runtime
- */
-public interface ApplicationContext
-{
- public ApplicationState getApplicationState();
- public AriesApplication getApplication();
- public void start() throws BundleException;
- public void stop() throws BundleException;
- public Set<Bundle> getApplicationContent(); //
-
- public enum ApplicationState
- {
- INSTALLED, RESOLVED, STARTING, STOPPING, ACTIVE, UNINSTALLED
- }
-}
+/*
+ * 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.management;
+
+import java.util.Set;
+
+import org.osgi.framework.Bundle;
+import org.osgi.framework.BundleException;
+
+/**
+ * Represents an Aries application in the runtime
+ */
+public interface ApplicationContext
+{
+ public ApplicationState getApplicationState();
+ public AriesApplication getApplication();
+ public void start() throws BundleException;
+ public void stop() throws BundleException;
+ public Set<Bundle> getApplicationContent(); //
+
+ public enum ApplicationState
+ {
+ INSTALLED, RESOLVED, STARTING, STOPPING, ACTIVE, UNINSTALLED
+ }
+}
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/ApplicationContext.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/ApplicationContext.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/ApplicationContext.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/ApplicationContextManager.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/ApplicationContextManager.java?rev=899518&r1=899517&r2=899518&view=diff
==============================================================================
--- incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/ApplicationContextManager.java (original)
+++ incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/ApplicationContextManager.java Fri Jan 15 02:17:38 2010
@@ -1,33 +1,33 @@
-/*
- * 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.management;
-
-import java.util.Set;
-
-/* We'll use this interface as a plug-point to the application-runtime */
-public interface ApplicationContextManager {
-
- // Moved from AriesApplicationManager
- public ApplicationContext getApplicationContext(AriesApplication app);
-
- // Not sure who needs this or for what, so don't yet know if it'll need to
- // be an immutable copy, or a live reference.
- public Set<ApplicationContext> getApplicationContexts();
-}
+/*
+ * 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.management;
+
+import java.util.Set;
+
+/* We'll use this interface as a plug-point to the application-runtime */
+public interface ApplicationContextManager {
+
+ // Moved from AriesApplicationManager
+ public ApplicationContext getApplicationContext(AriesApplication app);
+
+ // Not sure who needs this or for what, so don't yet know if it'll need to
+ // be an immutable copy, or a live reference.
+ public Set<ApplicationContext> getApplicationContexts();
+}
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/ApplicationContextManager.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/ApplicationContextManager.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/ApplicationContextManager.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/ApplicationEvent.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/ApplicationEvent.java?rev=899518&r1=899517&r2=899518&view=diff
==============================================================================
--- incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/ApplicationEvent.java (original)
+++ incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/ApplicationEvent.java Fri Jan 15 02:17:38 2010
@@ -1,31 +1,31 @@
-/*
- * 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.management;
-
-/**
- * Passed to ApplicationListener clients
- *
- */
-public abstract class ApplicationEvent {
-
- abstract public ApplicationContext.ApplicationState getType();
- abstract public AriesApplication getApplication();
-
-}
+/*
+ * 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.management;
+
+/**
+ * Passed to ApplicationListener clients
+ *
+ */
+public abstract class ApplicationEvent {
+
+ abstract public ApplicationContext.ApplicationState getType();
+ abstract public AriesApplication getApplication();
+
+}
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/ApplicationEvent.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/ApplicationEvent.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/ApplicationEvent.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/ApplicationListener.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/ApplicationListener.java?rev=899518&r1=899517&r2=899518&view=diff
==============================================================================
--- incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/ApplicationListener.java (original)
+++ incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/ApplicationListener.java Fri Jan 15 02:17:38 2010
@@ -1,28 +1,28 @@
-/*
- * 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.management;
-
-public interface ApplicationListener {
-
- /**
- * Receives notification of an application lifecycle event
- */
- public void applicationChanged (ApplicationEvent event);
-}
+/*
+ * 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.management;
+
+public interface ApplicationListener {
+
+ /**
+ * Receives notification of an application lifecycle event
+ */
+ public void applicationChanged (ApplicationEvent event);
+}
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/ApplicationListener.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/ApplicationListener.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/ApplicationListener.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/AriesApplication.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/AriesApplication.java?rev=899518&r1=899517&r2=899518&view=diff
==============================================================================
--- incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/AriesApplication.java (original)
+++ incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/AriesApplication.java Fri Jan 15 02:17:38 2010
@@ -1,48 +1,48 @@
-/*
- * 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.management;
-
-import java.io.File;
-import java.io.FileNotFoundException;
-import java.io.IOException;
-import java.io.OutputStream;
-import java.util.Set;
-
-import org.apache.aries.application.ApplicationMetadata;
-import org.apache.aries.application.DeploymentMetadata;
-
-
-/**
- * Metadata about an Aries application - a representation of a .eba
- * file, as per http://incubator.apache.org/aries/applications.html
- *
- */
-public interface AriesApplication
-{
- public ApplicationMetadata getApplicationMetadata();
- public DeploymentMetadata getDeploymentMetadata();
-
- /** the set of bundles included in the application by value */
- public Set<BundleInfo> getBundleInfo();
-
- /** Stores any changes to disk using this implementations storage form */
- public void store(File f) throws FileNotFoundException, IOException;
- public void store(OutputStream out) throws FileNotFoundException, IOException;
-}
+/*
+ * 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.management;
+
+import java.io.File;
+import java.io.FileNotFoundException;
+import java.io.IOException;
+import java.io.OutputStream;
+import java.util.Set;
+
+import org.apache.aries.application.ApplicationMetadata;
+import org.apache.aries.application.DeploymentMetadata;
+
+
+/**
+ * Metadata about an Aries application - a representation of a .eba
+ * file, as per http://incubator.apache.org/aries/applications.html
+ *
+ */
+public interface AriesApplication
+{
+ public ApplicationMetadata getApplicationMetadata();
+ public DeploymentMetadata getDeploymentMetadata();
+
+ /** the set of bundles included in the application by value */
+ public Set<BundleInfo> getBundleInfo();
+
+ /** Stores any changes to disk using this implementations storage form */
+ public void store(File f) throws FileNotFoundException, IOException;
+ public void store(OutputStream out) throws FileNotFoundException, IOException;
+}
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/AriesApplication.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/AriesApplication.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/AriesApplication.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/AriesApplicationManager.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/AriesApplicationManager.java?rev=899518&r1=899517&r2=899518&view=diff
==============================================================================
--- incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/AriesApplicationManager.java (original)
+++ incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/AriesApplicationManager.java Fri Jan 15 02:17:38 2010
@@ -1,40 +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.management;
-
-import java.net.URL;
-
-import org.apache.aries.application.filesystem.IDirectory;
-import org.osgi.framework.BundleException;
-
-/**
- * Create, install and uninstall applications via this service.
- */
-public interface AriesApplicationManager
-{
- public AriesApplication createApplication(IDirectory source) throws ManagementException;
- public AriesApplication createApplication(URL url) throws ManagementException;
- public ApplicationContext install(AriesApplication app) throws BundleException;
- public void uninstall(ApplicationContext app) throws BundleException;
- public void addApplicationListener(ApplicationListener l);
- public void removeApplicationListener(ApplicationListener l);
- AriesApplication resolve (AriesApplication originalApp, ResolveConstraint ... constraints);
-}
+/*
+ * 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.management;
+
+import java.net.URL;
+
+import org.apache.aries.application.filesystem.IDirectory;
+import org.osgi.framework.BundleException;
+
+/**
+ * Create, install and uninstall applications via this service.
+ */
+public interface AriesApplicationManager
+{
+ public AriesApplication createApplication(IDirectory source) throws ManagementException;
+ public AriesApplication createApplication(URL url) throws ManagementException;
+ public ApplicationContext install(AriesApplication app) throws BundleException;
+ public void uninstall(ApplicationContext app) throws BundleException;
+ public void addApplicationListener(ApplicationListener l);
+ public void removeApplicationListener(ApplicationListener l);
+ AriesApplication resolve (AriesApplication originalApp, ResolveConstraint ... constraints);
+}
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/AriesApplicationManager.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/AriesApplicationManager.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/AriesApplicationManager.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/AriesApplicationResolver.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/AriesApplicationResolver.java?rev=899518&r1=899517&r2=899518&view=diff
==============================================================================
--- incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/AriesApplicationResolver.java (original)
+++ incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/AriesApplicationResolver.java Fri Jan 15 02:17:38 2010
@@ -1,33 +1,33 @@
-/*
- * 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.management;
-
-import java.util.Set;
-
-public interface AriesApplicationResolver {
-
- /** Resolve an AriesApplication
- *
- * @param app The application to resolve
- * @return The additional bundles required to ensure that the application resolves. This
- * set will not include those provided by value within the application.
- */
- Set<BundleInfo> resolve (AriesApplication app);
-}
+/*
+ * 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.management;
+
+import java.util.Set;
+
+public interface AriesApplicationResolver {
+
+ /** Resolve an AriesApplication
+ *
+ * @param app The application to resolve
+ * @return The additional bundles required to ensure that the application resolves. This
+ * set will not include those provided by value within the application.
+ */
+ Set<BundleInfo> resolve (AriesApplication app);
+}
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/AriesApplicationResolver.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/AriesApplicationResolver.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/aries/trunk/application/application-api/src/main/java/org/apache/aries/application/management/AriesApplicationResolver.java
------------------------------------------------------------------------------
svn:mime-type = text/plain