org.apache.aries.application.modelling.utils.impl
Class ModellingHelperImpl

java.lang.Object
  extended by org.apache.aries.application.modelling.utils.impl.ModellingHelperImpl
All Implemented Interfaces:
ModellingHelper

public class ModellingHelperImpl
extends Object
implements ModellingHelper


Constructor Summary
ModellingHelperImpl()
           
 
Method Summary
static boolean areMandatoryAttributesPresent_(Map<String,String> consumerAttributes, Provider p)
           
 boolean areMandatoryAttributesPresent(Map<String,String> consumerAttributes, Provider p)
           
static ImportedBundle buildFragmentHost_(String fragmentHostHeader)
           
 ImportedBundle buildFragmentHost(String fragmentHostHeader)
           
 DeployedBundles createDeployedBundles(String assetName, Collection<ImportedBundle> appContentNames, Collection<ImportedBundle> appUseBundleNames, Collection<ModelledResource> fakeServiceProvidingBundles)
           
static ImportedPackage intersectPackage_(ImportedPackage p1, ImportedPackage p2)
           
 ImportedPackage intersectPackage(ImportedPackage p1, ImportedPackage p2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModellingHelperImpl

public ModellingHelperImpl()
Method Detail

areMandatoryAttributesPresent

public boolean areMandatoryAttributesPresent(Map<String,String> consumerAttributes,
                                             Provider p)
Specified by:
areMandatoryAttributesPresent in interface ModellingHelper

buildFragmentHost

public ImportedBundle buildFragmentHost(String fragmentHostHeader)
                                 throws InvalidAttributeException
Specified by:
buildFragmentHost in interface ModellingHelper
Throws:
InvalidAttributeException

intersectPackage

public ImportedPackage intersectPackage(ImportedPackage p1,
                                        ImportedPackage p2)
Specified by:
intersectPackage in interface ModellingHelper

createDeployedBundles

public DeployedBundles createDeployedBundles(String assetName,
                                             Collection<ImportedBundle> appContentNames,
                                             Collection<ImportedBundle> appUseBundleNames,
                                             Collection<ModelledResource> fakeServiceProvidingBundles)
Specified by:
createDeployedBundles in interface ModellingHelper

areMandatoryAttributesPresent_

public static boolean areMandatoryAttributesPresent_(Map<String,String> consumerAttributes,
                                                     Provider p)

buildFragmentHost_

public static ImportedBundle buildFragmentHost_(String fragmentHostHeader)
                                         throws InvalidAttributeException
Throws:
InvalidAttributeException

intersectPackage_

public static ImportedPackage intersectPackage_(ImportedPackage p1,
                                                ImportedPackage p2)


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