|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.aries.application.modelling.impl.ModelledResourceImpl
public class ModelledResourceImpl
A model of a bundle or composite. Used for example to supply information to RepositoryGenerator.generateRepository()
| Constructor Summary | |
|---|---|
ModelledResourceImpl(String fileURI,
Attributes bundleAttributes,
Collection<ImportedService> importedServices,
Collection<ExportedService> exportedServices)
Construct a new ModelledResourceImpl for the following manifest and services |
|
ModelledResourceImpl(String fileURI,
Attributes bundleAttributes,
ExportedBundle exportedBundle,
ResourceType resourceType,
Collection<ImportedService> importedServices,
Collection<ExportedService> exportedServices)
Construct a new ModelledResourceImpl for the following manifest and services |
|
ModelledResourceImpl(String fileURI,
Attributes bundleAttributes,
ResourceType resourceType,
ExportedBundle exportedBundle,
Collection<ImportedService> importedServices,
Collection<ExportedService> exportedServices)
|
|
ModelledResourceImpl(String fileURI,
BundleInfo bundleInfo,
Collection<ImportedService> importedServices,
Collection<ExportedService> exportedServices)
Construct a new ModelledResourceImpl for the following manifest and services |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ModelledResourceImpl(String fileURI,
BundleInfo bundleInfo,
Collection<ImportedService> importedServices,
Collection<ExportedService> exportedServices)
throws InvalidAttributeException
ModelledResourceImpl for the following manifest and services
fileURI - The location of the bundle, may be null, which indicates a by value bundlebundleInfo - The bundle info objectimportedServices - The blueprint references defined by the bundle. May be nullexportedServices - The blueprint services exported by the bundle. May be null
InvalidAttributeException
public ModelledResourceImpl(String fileURI,
Attributes bundleAttributes,
ExportedBundle exportedBundle,
ResourceType resourceType,
Collection<ImportedService> importedServices,
Collection<ExportedService> exportedServices)
throws InvalidAttributeException
ModelledResourceImpl for the following manifest and services
fileURI - The location of the bundle, may be null, which indicates a by value bundlebundleAttributes - The bundle manifest, must not be nullimportedServices - The blueprint references defined by the bundle. May be nullexportedServices - The blueprint services exported by the bundle. May be null
InvalidAttributeException
public ModelledResourceImpl(String fileURI,
Attributes bundleAttributes,
Collection<ImportedService> importedServices,
Collection<ExportedService> exportedServices)
throws InvalidAttributeException
ModelledResourceImpl for the following manifest and services
fileURI - The location of the bundle, may be null, which indicates a by value bundlebundleAttributes - The bundle manifest, must not be nullimportedServices - The blueprint references defined by the bundle. May be nullexportedServices - The blueprint services exported by the bundle. May be null
InvalidAttributeException
public ModelledResourceImpl(String fileURI,
Attributes bundleAttributes,
ResourceType resourceType,
ExportedBundle exportedBundle,
Collection<ImportedService> importedServices,
Collection<ExportedService> exportedServices)
throws InvalidAttributeException
InvalidAttributeException| Method Detail |
|---|
public String getLocation()
getLocation in interface ModelledResourcepublic ExportedBundle getExportedBundle()
getExportedBundle in interface ModelledResourcepublic Collection<ExportedPackage> getExportedPackages()
getExportedPackages in interface ModelledResourcepublic Collection<ImportedPackage> getImportedPackages()
getImportedPackages in interface ModelledResourcepublic Collection<ExportedService> getExportedServices()
getExportedServices in interface ModelledResourcepublic Collection<ImportedService> getImportedServices()
getImportedServices in interface ModelledResourcepublic String getSymbolicName()
getSymbolicName in interface ModelledResourcepublic String getVersion()
getVersion in interface ModelledResourcepublic String toDeploymentString()
toDeploymentString in interface DeploymentMFElementpublic ResourceType getType()
getType in interface ModelledResourcepublic String toString()
toString in class Objectpublic Collection<ImportedBundle> getRequiredBundles()
getRequiredBundles in interface ModelledResourcepublic ImportedBundle getFragmentHost()
getFragmentHost in interface ModelledResourcepublic boolean isFragment()
isFragment in interface ModelledResource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||