Class ComponentInfoPublisher


  • public class ComponentInfoPublisher
    extends java.lang.Object
    Allows a component to publish information about the services it implements, the endpoints it exposes and other useful information for management tools and client.
    • Constructor Detail

      • ComponentInfoPublisher

        public ComponentInfoPublisher()
    • Method Detail

      • publishProperty

        public void publishProperty​(java.lang.String key,
                                    java.lang.String value)
        Publish an information about the system, like an endpoint address.
        Parameters:
        key - the key
        value - the value, null values are not allowed.
      • getProperties

        public java.util.Map<java.lang.String,​java.lang.String> getProperties()
      • 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.