public class DynamicProtocolService extends Object
DynamicEndpointServices that all handle a single protocol.| Modifier and Type | Class and Description |
|---|---|
static class |
DynamicProtocolService.Builder |
| Constructor and Description |
|---|
DynamicProtocolService(Map<String,DynamicEndpointService> endpointServices) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(DynamicEndpointService newEndpointService)
This will add a new endpoint service to the list.
|
static DynamicProtocolService.Builder |
builder() |
Map<String,DynamicEndpointService> |
getDynamicEndpointServices() |
void |
remove(String name)
This will stop the given endpoint service and remove it from the list of endpoint services.
|
void |
start() |
void |
stop() |
public DynamicProtocolService(Map<String,DynamicEndpointService> endpointServices)
public static DynamicProtocolService.Builder builder()
public Map<String,DynamicEndpointService> getDynamicEndpointServices()
public void start()
public void stop()
public void add(DynamicEndpointService newEndpointService)
newEndpointService - the new service to add and startpublic void remove(String name)
name - identifies the endpoint service to removeCopyright © 2015–2016 Red Hat, Inc.. All rights reserved.