public interface ComponentProvider
Modifier and Type | Method and Description |
---|---|
void |
close()
Releases the resources associated with this component provider.
|
Collection<ConverterContractDescription> |
listConverterContracts()
Returns the descriptions of the currently known converter contracts.
|
Collection<ConverterDescription> |
listConverters()
Returns the description of the currently known converters.
|
Object |
lookup(String dependencyURI)
Looks up a suitable converter to satisfy the dependency expressed via the given URI.
|
void |
open()
Activates this component provider so that lookup and other operations can be invoked.
|
void |
setGlobalContractBinding(String contractURI,
String converterURI)
Binds a dependency URI (which is assumed to denote a contract) to a given converter.
|
void open()
Object lookup(String dependencyURI) throws ComponentProvisioningException
dependencyURI
- the URI identifies the required dependencyComponentProvisioningException
void setGlobalContractBinding(String contractURI, String converterURI)
contractURI
- converterURI
- Collection<ConverterContractDescription> listConverterContracts()
Collection<ConverterDescription> listConverters()
void close()
Copyright © 2022 ART Group, University of Rome, Tor Vergata. All rights reserved.