org.apache.aries.application.modelling.impl
Class ModellingManagerImpl

java.lang.Object
  extended by org.apache.aries.application.modelling.impl.ModellingManagerImpl
All Implemented Interfaces:
ModellingManager

public class ModellingManagerImpl
extends Object
implements ModellingManager


Constructor Summary
ModellingManagerImpl()
           
 
Method Summary
 ExportedBundle getExportedBundle(Map<String,String> attributes, ImportedBundle fragHost)
           
 ExportedPackage getExportedPackage(ModelledResource mr, String pkg, Map<String,Object> attributes)
           
 ExportedService getExportedService(String name, int ranking, Collection<String> ifaces, Map<String,Object> serviceProperties)
           
 ExportedService getExportedService(String ifaceName, Map<String,String> attrs)
           
 ImportedBundle getImportedBundle(String filterString, Map<String,String> attributes)
           
 ImportedBundle getImportedBundle(String bundleName, String versionRange)
           
 ImportedPackage getImportedPackage(String pkg, Map<String,String> attributes)
           
 ImportedService getImportedService(boolean optional, String iface, String componentName, String blueprintFilter, String id, boolean isMultiple)
           
 ImportedService getImportedService(String ifaceName, Map<String,String> attributes)
           
 ModelledResource getModelledResource(String fileURI, Attributes bundleAttributes, Collection<ImportedService> importedServices, Collection<ExportedService> exportedServices)
           
 ModelledResource getModelledResource(String fileURI, Attributes bundleAttributes, ExportedBundle exportedBundle, ResourceType resourceType, Collection<ImportedService> importedServices, Collection<ExportedService> exportedServices)
           
 ModelledResource getModelledResource(String fileURI, BundleInfo bundleInfo, Collection<ImportedService> importedServices, Collection<ExportedService> exportedServices)
           
 ParsedServiceElements getParsedServiceElements(Collection<ExportedService> services, Collection<ImportedService> references)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModellingManagerImpl

public ModellingManagerImpl()
Method Detail

getExportedBundle

public ExportedBundle getExportedBundle(Map<String,String> attributes,
                                        ImportedBundle fragHost)
Specified by:
getExportedBundle in interface ModellingManager

getExportedPackage

public ExportedPackage getExportedPackage(ModelledResource mr,
                                          String pkg,
                                          Map<String,Object> attributes)
Specified by:
getExportedPackage in interface ModellingManager

getExportedService

public ExportedService getExportedService(String name,
                                          int ranking,
                                          Collection<String> ifaces,
                                          Map<String,Object> serviceProperties)
Specified by:
getExportedService in interface ModellingManager

getExportedService

public ExportedService getExportedService(String ifaceName,
                                          Map<String,String> attrs)
Specified by:
getExportedService in interface ModellingManager

getImportedBundle

public ImportedBundle getImportedBundle(String filterString,
                                        Map<String,String> attributes)
                                 throws InvalidAttributeException
Specified by:
getImportedBundle in interface ModellingManager
Throws:
InvalidAttributeException

getImportedBundle

public ImportedBundle getImportedBundle(String bundleName,
                                        String versionRange)
                                 throws InvalidAttributeException
Specified by:
getImportedBundle in interface ModellingManager
Throws:
InvalidAttributeException

getImportedPackage

public ImportedPackage getImportedPackage(String pkg,
                                          Map<String,String> attributes)
                                   throws InvalidAttributeException
Specified by:
getImportedPackage in interface ModellingManager
Throws:
InvalidAttributeException

getImportedService

public ImportedService getImportedService(boolean optional,
                                          String iface,
                                          String componentName,
                                          String blueprintFilter,
                                          String id,
                                          boolean isMultiple)
                                   throws InvalidAttributeException
Specified by:
getImportedService in interface ModellingManager
Throws:
InvalidAttributeException

getImportedService

public ImportedService getImportedService(String ifaceName,
                                          Map<String,String> attributes)
                                   throws InvalidAttributeException
Specified by:
getImportedService in interface ModellingManager
Throws:
InvalidAttributeException

getModelledResource

public ModelledResource getModelledResource(String fileURI,
                                            BundleInfo bundleInfo,
                                            Collection<ImportedService> importedServices,
                                            Collection<ExportedService> exportedServices)
                                     throws InvalidAttributeException
Specified by:
getModelledResource in interface ModellingManager
Throws:
InvalidAttributeException

getModelledResource

public ModelledResource getModelledResource(String fileURI,
                                            Attributes bundleAttributes,
                                            Collection<ImportedService> importedServices,
                                            Collection<ExportedService> exportedServices)
                                     throws InvalidAttributeException
Specified by:
getModelledResource in interface ModellingManager
Throws:
InvalidAttributeException

getParsedServiceElements

public ParsedServiceElements getParsedServiceElements(Collection<ExportedService> services,
                                                      Collection<ImportedService> references)
Specified by:
getParsedServiceElements in interface ModellingManager

getModelledResource

public ModelledResource getModelledResource(String fileURI,
                                            Attributes bundleAttributes,
                                            ExportedBundle exportedBundle,
                                            ResourceType resourceType,
                                            Collection<ImportedService> importedServices,
                                            Collection<ExportedService> exportedServices)
                                     throws InvalidAttributeException
Specified by:
getModelledResource in interface ModellingManager
Throws:
InvalidAttributeException


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.