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

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

public final class ParsedServiceElementsImpl
extends Object
implements org.apache.aries.application.modelling.ParsedServiceElements

A simple data structure containing two immutable Collections, one each of ImportedServiceImpl and ExportedServiceImpl


Constructor Summary
ParsedServiceElementsImpl(Collection<org.apache.aries.application.modelling.ExportedService> services, Collection<org.apache.aries.application.modelling.ImportedService> references)
          Copy collections of Service and Reference metadata into a ParsedServiceElementsImpl
 
Method Summary
 Collection<org.apache.aries.application.modelling.ImportedService> getReferences()
          Get the ImportedServices
 Collection<org.apache.aries.application.modelling.ExportedService> getServices()
          Get the exported services
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParsedServiceElementsImpl

public ParsedServiceElementsImpl(Collection<org.apache.aries.application.modelling.ExportedService> services,
                                 Collection<org.apache.aries.application.modelling.ImportedService> references)
Copy collections of Service and Reference metadata into a ParsedServiceElementsImpl

Parameters:
services -
references -
Method Detail

getReferences

public Collection<org.apache.aries.application.modelling.ImportedService> getReferences()
Get the ImportedServices

Specified by:
getReferences in interface org.apache.aries.application.modelling.ParsedServiceElements
Returns:
imported services

getServices

public Collection<org.apache.aries.application.modelling.ExportedService> getServices()
Get the exported services

Specified by:
getServices in interface org.apache.aries.application.modelling.ParsedServiceElements
Returns:
exported services


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