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

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

public final class ParsedServiceElementsImpl
extends Object
implements ParsedServiceElements

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


Constructor Summary
ParsedServiceElementsImpl(Collection<ExportedService> services, Collection<ImportedService> references)
          Copy collections of Service and Reference metadata into a ParsedServiceElementsImpl
 
Method Summary
 Collection<ImportedService> getReferences()
          Get the ImportedServices
 Collection<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<ExportedService> services,
                                 Collection<ImportedService> references)
Copy collections of Service and Reference metadata into a ParsedServiceElementsImpl

Parameters:
services -
references -
Method Detail

getReferences

public Collection<ImportedService> getReferences()
Get the ImportedServices

Specified by:
getReferences in interface ParsedServiceElements
Returns:
imported services

getServices

public Collection<ExportedService> getServices()
Get the exported services

Specified by:
getServices in interface ParsedServiceElements
Returns:
exported services


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