org.apache.aries.application.resolver.obr.impl
Class ModelledBundleResource

java.lang.Object
  extended by org.apache.aries.application.resolver.obr.impl.ModelledBundleResource
All Implemented Interfaces:
DeploymentMFElement, ModelledResource

public class ModelledBundleResource
extends Object
implements ModelledResource


Constructor Summary
ModelledBundleResource(org.apache.felix.bundlerepository.Resource r, ModellingManager mm, ModellingHelper mh)
           
 
Method Summary
 ExportedBundle getExportedBundle()
           
 Collection<? extends ExportedPackage> getExportedPackages()
           
 Collection<? extends ExportedService> getExportedServices()
           
 ImportedBundle getFragmentHost()
           
 Collection<? extends ImportedPackage> getImportedPackages()
           
 Collection<? extends ImportedService> getImportedServices()
           
 String getLocation()
           
 Collection<? extends ImportedBundle> getRequiredBundles()
           
 String getSymbolicName()
           
 ResourceType getType()
           
 String getVersion()
           
 boolean isFragment()
           
 String toDeploymentString()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModelledBundleResource

public ModelledBundleResource(org.apache.felix.bundlerepository.Resource r,
                              ModellingManager mm,
                              ModellingHelper mh)
                       throws InvalidAttributeException
Throws:
InvalidAttributeException
Method Detail

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.