|
||||||||||
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<org.apache.aries.application.modelling.ImportedService> importedServices,
Collection<org.apache.aries.application.modelling.ExportedService> exportedServices)
Construct a new ModelledResourceImpl for the following manifest and services |
|
ModelledResourceImpl(String fileURI,
Attributes bundleAttributes,
org.apache.aries.application.modelling.ExportedBundle exportedBundle,
org.apache.aries.application.modelling.ResourceType resourceType,
Collection<org.apache.aries.application.modelling.ImportedService> importedServices,
Collection<org.apache.aries.application.modelling.ExportedService> exportedServices)
Construct a new ModelledResourceImpl for the following manifest and services |
|
ModelledResourceImpl(String fileURI,
Attributes bundleAttributes,
org.apache.aries.application.modelling.ResourceType resourceType,
org.apache.aries.application.modelling.ExportedBundle exportedBundle,
Collection<org.apache.aries.application.modelling.ImportedService> importedServices,
Collection<org.apache.aries.application.modelling.ExportedService> exportedServices)
|
|
ModelledResourceImpl(String fileURI,
org.apache.aries.application.management.BundleInfo bundleInfo,
Collection<org.apache.aries.application.modelling.ImportedService> importedServices,
Collection<org.apache.aries.application.modelling.ExportedService> exportedServices)
Construct a new ModelledResourceImpl for the following manifest and services |
Method Summary | |
---|---|
org.apache.aries.application.modelling.ExportedBundle |
getExportedBundle()
|
Collection<org.apache.aries.application.modelling.ExportedPackage> |
getExportedPackages()
|
Collection<org.apache.aries.application.modelling.ExportedService> |
getExportedServices()
|
org.apache.aries.application.modelling.ImportedBundle |
getFragmentHost()
|
Collection<org.apache.aries.application.modelling.ImportedPackage> |
getImportedPackages()
|
Collection<org.apache.aries.application.modelling.ImportedService> |
getImportedServices()
|
String |
getLocation()
|
Collection<org.apache.aries.application.modelling.ImportedBundle> |
getRequiredBundles()
|
String |
getSymbolicName()
|
org.apache.aries.application.modelling.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 |
---|
public ModelledResourceImpl(String fileURI, org.apache.aries.application.management.BundleInfo bundleInfo, Collection<org.apache.aries.application.modelling.ImportedService> importedServices, Collection<org.apache.aries.application.modelling.ExportedService> exportedServices) throws org.apache.aries.application.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
org.apache.aries.application.InvalidAttributeException
public ModelledResourceImpl(String fileURI, Attributes bundleAttributes, org.apache.aries.application.modelling.ExportedBundle exportedBundle, org.apache.aries.application.modelling.ResourceType resourceType, Collection<org.apache.aries.application.modelling.ImportedService> importedServices, Collection<org.apache.aries.application.modelling.ExportedService> exportedServices) throws org.apache.aries.application.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
org.apache.aries.application.InvalidAttributeException
public ModelledResourceImpl(String fileURI, Attributes bundleAttributes, Collection<org.apache.aries.application.modelling.ImportedService> importedServices, Collection<org.apache.aries.application.modelling.ExportedService> exportedServices) throws org.apache.aries.application.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
org.apache.aries.application.InvalidAttributeException
public ModelledResourceImpl(String fileURI, Attributes bundleAttributes, org.apache.aries.application.modelling.ResourceType resourceType, org.apache.aries.application.modelling.ExportedBundle exportedBundle, Collection<org.apache.aries.application.modelling.ImportedService> importedServices, Collection<org.apache.aries.application.modelling.ExportedService> exportedServices) throws org.apache.aries.application.InvalidAttributeException
org.apache.aries.application.InvalidAttributeException
Method Detail |
---|
public String getLocation()
getLocation
in interface org.apache.aries.application.modelling.ModelledResource
public org.apache.aries.application.modelling.ExportedBundle getExportedBundle()
getExportedBundle
in interface org.apache.aries.application.modelling.ModelledResource
public Collection<org.apache.aries.application.modelling.ExportedPackage> getExportedPackages()
getExportedPackages
in interface org.apache.aries.application.modelling.ModelledResource
public Collection<org.apache.aries.application.modelling.ImportedPackage> getImportedPackages()
getImportedPackages
in interface org.apache.aries.application.modelling.ModelledResource
public Collection<org.apache.aries.application.modelling.ExportedService> getExportedServices()
getExportedServices
in interface org.apache.aries.application.modelling.ModelledResource
public Collection<org.apache.aries.application.modelling.ImportedService> getImportedServices()
getImportedServices
in interface org.apache.aries.application.modelling.ModelledResource
public String getSymbolicName()
getSymbolicName
in interface org.apache.aries.application.modelling.ModelledResource
public String getVersion()
getVersion
in interface org.apache.aries.application.modelling.ModelledResource
public String toDeploymentString()
toDeploymentString
in interface org.apache.aries.application.modelling.DeploymentMFElement
public org.apache.aries.application.modelling.ResourceType getType()
getType
in interface org.apache.aries.application.modelling.ModelledResource
public String toString()
toString
in class Object
public Collection<org.apache.aries.application.modelling.ImportedBundle> getRequiredBundles()
getRequiredBundles
in interface org.apache.aries.application.modelling.ModelledResource
public org.apache.aries.application.modelling.ImportedBundle getFragmentHost()
getFragmentHost
in interface org.apache.aries.application.modelling.ModelledResource
public boolean isFragment()
isFragment
in interface org.apache.aries.application.modelling.ModelledResource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |