org.apache.aries.application.impl
Class DeploymentMetadataImpl
java.lang.Object
org.apache.aries.application.impl.DeploymentMetadataImpl
- All Implemented Interfaces:
- DeploymentMetadata
public class DeploymentMetadataImpl
- extends Object
- implements DeploymentMetadata
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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.