public class ComponentInfoPublisher
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ComponentInfoPublisher.EndpointInfo
Endpoint information.
|
| Constructor and Description |
|---|
ComponentInfoPublisher() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,ComponentInfoPublisher.EndpointInfo> |
getEndpoints() |
java.util.Map<java.lang.String,java.lang.String> |
getProperties() |
void |
publishEndpoint(ComponentInfoPublisher.EndpointInfo endpoint) |
void |
publishProperty(java.lang.String key,
java.lang.String value)
Publish an information about the system, like an endpoint address.
|
void |
startupFinished()
Called by the framework to signal that preparation of startup is done,
so we have gathered all of the available information.
|
public void publishProperty(java.lang.String key,
java.lang.String value)
key - the keyvalue - the value, null values are not allowed.public void publishEndpoint(ComponentInfoPublisher.EndpointInfo endpoint)
public java.util.Map<java.lang.String,java.lang.String> getProperties()
public java.util.Map<java.lang.String,ComponentInfoPublisher.EndpointInfo> getEndpoints()
public void startupFinished()
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.