Class ComponentInfoPublisher
java.lang.Object
org.apache.bookkeeper.common.component.ComponentInfoPublisher
Allows a component to publish information about
the services it implements, the endpoints it exposes
and other useful information for management tools and client.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classEndpoint information. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidpublishProperty(String key, String value) Publish an information about the system, like an endpoint address.voidCalled by the framework to signal that preparation of startup is done, so we have gathered all of the available information.
-
Constructor Details
-
ComponentInfoPublisher
public ComponentInfoPublisher()
-
-
Method Details
-
publishProperty
Publish an information about the system, like an endpoint address.- Parameters:
key- the keyvalue- the value, null values are not allowed.
-
publishEndpoint
-
getProperties
-
getEndpoints
-
startupFinished
public void startupFinished()Called by the framework to signal that preparation of startup is done, so we have gathered all of the available information.
-