org.apache.aries.application.resolver.obr.impl
Class ModelledBundleResource
java.lang.Object
org.apache.aries.application.resolver.obr.impl.ModelledBundleResource
- All Implemented Interfaces:
- DeploymentMFElement, ModelledResource
public class ModelledBundleResource
- extends Object
- implements ModelledResource
ModelledBundleResource
public ModelledBundleResource(org.apache.felix.bundlerepository.Resource r,
ModellingManager mm,
ModellingHelper mh)
throws InvalidAttributeException
- Throws:
InvalidAttributeException
getExportedBundle
public ExportedBundle getExportedBundle()
- Specified by:
getExportedBundle
in interface ModelledResource
getExportedPackages
public Collection<? extends ExportedPackage> getExportedPackages()
- Specified by:
getExportedPackages
in interface ModelledResource
getExportedServices
public Collection<? extends ExportedService> getExportedServices()
- Specified by:
getExportedServices
in interface ModelledResource
getImportedPackages
public Collection<? extends ImportedPackage> getImportedPackages()
- Specified by:
getImportedPackages
in interface ModelledResource
getImportedServices
public Collection<? extends ImportedService> getImportedServices()
- Specified by:
getImportedServices
in interface ModelledResource
getRequiredBundles
public Collection<? extends ImportedBundle> getRequiredBundles()
- Specified by:
getRequiredBundles
in interface ModelledResource
getSymbolicName
public String getSymbolicName()
- Specified by:
getSymbolicName
in interface ModelledResource
getLocation
public String getLocation()
- Specified by:
getLocation
in interface ModelledResource
getVersion
public String getVersion()
- Specified by:
getVersion
in interface ModelledResource
toDeploymentString
public String toDeploymentString()
- Specified by:
toDeploymentString
in interface DeploymentMFElement
toString
public String toString()
- Overrides:
toString
in class Object
getType
public ResourceType getType()
- Specified by:
getType
in interface ModelledResource
getFragmentHost
public ImportedBundle getFragmentHost()
- Specified by:
getFragmentHost
in interface ModelledResource
isFragment
public boolean isFragment()
- Specified by:
isFragment
in interface ModelledResource
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.