public interface PropertyProvider
PropertyProvider
service interface may be implemented by
components that wish to define properties on the local instance which then
are broadcast to the TopologyView
instances.
The provided properties are registered with the PROPERTY_PROPERTIES
service property.
If the set of provided properties changes or one of the provided values
change, the service registration of the provider should be updated.
This avoids periodic polling for changes.
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_PROPERTIES
The name of the service registration property containing the names
of the properties provided by this provider.
|
Modifier and Type | Method and Description |
---|---|
String |
getProperty(String name)
Retrieves a property that is subsequently set on the local instance
and broadcast to the
TopologyView instances. |
static final String PROPERTY_PROPERTIES
.
,
_
, -
.String getProperty(String name)
TopologyView
instances.
These properties are non-persistent and disappear after the local instance goes down.
null
. If the property
value can't be provided or if the provider does not support this
property, it must return null
.Copyright © 2014 The Apache Software Foundation. All rights reserved.