public interface IDF
Modifier and Type | Method and Description |
---|---|
IDFComponentDescription |
createDFComponentDescription(IComponentIdentifier component,
IDFServiceDescription service)
Create a df component description.
|
IDFComponentDescription |
createDFComponentDescription(IComponentIdentifier component,
IDFServiceDescription[] services,
String[] languages,
String[] ontologies,
String[] protocols,
Date leasetime)
Create a new df component description.
|
IDFServiceDescription |
createDFServiceDescription(String name,
String type,
String ownership)
Create a df service description.
|
IDFServiceDescription |
createDFServiceDescription(String name,
String type,
String ownership,
String[] languages,
String[] ontologies,
String[] protocols,
IProperty[] properties)
Create a df service description.
|
ISearchConstraints |
createSearchConstraints(int maxresults,
int maxdepth)
Create a search constraints object.
|
IFuture<Void> |
deregister(IDFComponentDescription adesc)
Deregister an component description.
|
IFuture<IDFComponentDescription> |
modify(IDFComponentDescription adesc)
Modify an component description.
|
IFuture<IDFComponentDescription> |
register(IDFComponentDescription adesc)
Register an component description.
|
IFuture<IDFComponentDescription[]> |
search(IDFComponentDescription adesc,
ISearchConstraints con)
Search for components matching the given description.
|
IFuture<IDFComponentDescription[]> |
search(IDFComponentDescription adesc,
ISearchConstraints con,
boolean remote)
Search for components matching the given description.
|
IFuture<IDFComponentDescription> register(IDFComponentDescription adesc)
RuntimeException
- when the component is already registered.IFuture<Void> deregister(IDFComponentDescription adesc)
RuntimeException
- when the component is not registered.IFuture<IDFComponentDescription> modify(IDFComponentDescription adesc)
RuntimeException
- when the component is not registered.IFuture<IDFComponentDescription[]> search(IDFComponentDescription adesc, ISearchConstraints con)
IFuture<IDFComponentDescription[]> search(IDFComponentDescription adesc, ISearchConstraints con, boolean remote)
IDFServiceDescription createDFServiceDescription(String name, String type, String ownership)
name
- The name.type
- The type.ownership
- The ownership.IDFServiceDescription createDFServiceDescription(String name, String type, String ownership, String[] languages, String[] ontologies, String[] protocols, IProperty[] properties)
name
- The name.type
- The type.ownership
- The ownership.languages
- The languages.ontologies
- The ontologies.protocols
- The protocols.properties
- The properties.IDFComponentDescription createDFComponentDescription(IComponentIdentifier component, IDFServiceDescription service)
component
- The component.service
- The service.IDFComponentDescription createDFComponentDescription(IComponentIdentifier component, IDFServiceDescription[] services, String[] languages, String[] ontologies, String[] protocols, Date leasetime)
component
- The component id.services
- The services.languages
- The languages.ontologies
- The ontologies.protocols
- The protocols.ISearchConstraints createSearchConstraints(int maxresults, int maxdepth)
maxresults
- The maximum number of results.maxdepth
- The maximal search depth.Copyright © 2013. All Rights Reserved.