Modifier and Type | Field and Description |
---|---|
protected HashMap<String,Endpoint> |
endpoints |
protected boolean |
inRepair |
protected Long |
lastRepaired |
protected static org.slf4j.Logger |
log |
Modifier and Type | Method and Description |
---|---|
void |
addEndpoint(Endpoint e)
Add the (initialized) endpoint to this endpoint manager to be used by the
FederationManager . |
Collection<Endpoint> |
getAvailableEndpoints() |
Endpoint |
getEndpoint(String endpointID) |
Endpoint |
getEndpointByName(String endpointName) |
Endpoint |
getEndpointByUrl(String endpointUrl)
Return the Endpoint for the provided endpoint url, if it exists.
|
List<Endpoint> |
getEndpoints(Set<String> endpointIDs) |
static EndpointManager |
initialize(List<Endpoint> endpoints)
Initialize the singleton endpoint manager with the provided endpoints
|
protected void |
removeEndpoint(Endpoint e)
Remove the provided endpoint from this endpoint manager to be used by the
FederationManager . |
protected static final org.slf4j.Logger log
protected boolean inRepair
protected Long lastRepaired
public static EndpointManager initialize(List<Endpoint> endpoints)
endpoints
- public void addEndpoint(Endpoint e)
FederationManager
.e
- the endpointprotected void removeEndpoint(Endpoint e) throws NoSuchElementException
FederationManager
. In addition,
this method unregisters the FederatedService
from Sesamee
- the endpointNoSuchElementException
- if there is no mapping for some endpoint idpublic Collection<Endpoint> getAvailableEndpoints()
public Endpoint getEndpoint(String endpointID)
endpointID
- public Endpoint getEndpointByUrl(String endpointUrl)
endpointUrl
- public List<Endpoint> getEndpoints(Set<String> endpointIDs) throws NoSuchElementException
endpointIDs
- NoSuchElementException
- if there is no mapping for some endpoint idCopyright © 2015-2022 Eclipse Foundation. All Rights Reserved.