org.apache.aries.application.modelling.impl
Class ModelledResourceManagerImpl
java.lang.Object
org.apache.aries.application.modelling.impl.ModelledResourceManagerImpl
- All Implemented Interfaces:
- ModelledResourceManager
public class ModelledResourceManagerImpl
- extends Object
- implements ModelledResourceManager
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModelledResourceManagerImpl
public ModelledResourceManagerImpl()
setModellingManager
public void setModellingManager(ModellingManager m)
setParserProxy
public void setParserProxy(ParserProxy p)
getParserProxy
public ParserProxy getParserProxy()
getServiceElements
public ParsedServiceElements getServiceElements(IDirectory archive)
throws ModellerException
- For a given file, which we know to be a bundle, parse out all the
service, reference and reference-list elements. This method will return
all such services, including anonymous ones,
but should not return indistinguishable duplicates.
- Specified by:
getServiceElements in interface ModelledResourceManager
- Parameters:
archive - CommonArchive. The caller is responsible for closing this afterwards.
- Returns:
- ParsedServiceElementsImpl
- Throws:
OpenFailureException
ModellerException
getModelledResource
public ModelledResource getModelledResource(String uri,
IDirectory bundle)
throws ModellerException
- Specified by:
getModelledResource in interface ModelledResourceManager
- Throws:
ModellerException
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.