org.apache.aries.application.impl
Class DeploymentMetadataImpl

java.lang.Object
  extended by org.apache.aries.application.impl.DeploymentMetadataImpl
All Implemented Interfaces:
DeploymentMetadata

public class DeploymentMetadataImpl
extends Object
implements DeploymentMetadata


Constructor Summary
DeploymentMetadataImpl(AriesApplication app, Set<BundleInfo> bundlesRequired)
           
DeploymentMetadataImpl(Manifest mf)
          Construct a DeploymentMetadata from Manifest
DeploymentMetadataImpl(Map<String,String> map)
           
 
Method Summary
 List<DeploymentContent> getApplicationDeploymentContents()
           
 ApplicationMetadata getApplicationMetadata()
           
 List<DeploymentContent> getApplicationProvisionBundles()
           
 String getApplicationSymbolicName()
           
 org.osgi.framework.Version getApplicationVersion()
           
 Collection<org.osgi.framework.Filter> getDeployedServiceImport()
           
 List<DeploymentContent> getDeployedUseBundle()
           
 Map<String,String> getHeaders()
           
 Set<Content> getImportPackage()
           
 void store(File f)
           
 void store(OutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentMetadataImpl

public DeploymentMetadataImpl(AriesApplication app,
                              Set<BundleInfo> bundlesRequired)
                       throws ResolverException
Throws:
ResolverException

DeploymentMetadataImpl

public DeploymentMetadataImpl(Manifest mf)
                       throws InvalidAttributeException
Construct a DeploymentMetadata from Manifest

Parameters:
src -
Throws:
IOException
InvalidAttributeException

DeploymentMetadataImpl

public DeploymentMetadataImpl(Map<String,String> map)
                       throws InvalidAttributeException
Throws:
InvalidAttributeException
Method Detail

getApplicationDeploymentContents

public List<DeploymentContent> getApplicationDeploymentContents()
Specified by:
getApplicationDeploymentContents in interface DeploymentMetadata

getApplicationProvisionBundles

public List<DeploymentContent> getApplicationProvisionBundles()
Specified by:
getApplicationProvisionBundles in interface DeploymentMetadata

getApplicationMetadata

public ApplicationMetadata getApplicationMetadata()
Specified by:
getApplicationMetadata in interface DeploymentMetadata

getApplicationSymbolicName

public String getApplicationSymbolicName()
Specified by:
getApplicationSymbolicName in interface DeploymentMetadata

getApplicationVersion

public org.osgi.framework.Version getApplicationVersion()
Specified by:
getApplicationVersion in interface DeploymentMetadata

store

public void store(File f)
           throws FileNotFoundException,
                  IOException
Specified by:
store in interface DeploymentMetadata
Throws:
FileNotFoundException
IOException

store

public void store(OutputStream out)
           throws IOException
Specified by:
store in interface DeploymentMetadata
Throws:
IOException

getDeployedUseBundle

public List<DeploymentContent> getDeployedUseBundle()
Specified by:
getDeployedUseBundle in interface DeploymentMetadata

getImportPackage

public Set<Content> getImportPackage()
Specified by:
getImportPackage in interface DeploymentMetadata

getDeployedServiceImport

public Collection<org.osgi.framework.Filter> getDeployedServiceImport()
Specified by:
getDeployedServiceImport in interface DeploymentMetadata

getHeaders

public Map<String,String> getHeaders()
Specified by:
getHeaders in interface DeploymentMetadata


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.