Interface ListenerConfig
-
- All Superinterfaces:
ConfigBeanProxy
,PropertyBag
public interface ListenerConfig extends ConfigBeanProxy, PropertyBag
Connects a specific listener class with specific managed objects
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
ConfigBeanProxy.Duck
-
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.types.PropertyBag
PropertyBag.Duck
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull String
getListenerClassName()
Gets the value of the listenerClassName property.List<Property>
getProperty()
Properties as perPropertyBag
@NotNull String
getSubscribeListenerWith()
Gets the value of the subscribeListenerWith property.void
setListenerClassName(String value)
Sets the value of the listenerClassName property.void
setSubscribeListenerWith(String value)
Sets the value of the subscribeListenerWith property.-
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
-
Methods inherited from interface org.jvnet.hk2.config.types.PropertyBag
addProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removeProperty
-
-
-
-
Method Detail
-
getListenerClassName
@NotNull @NotNull String getListenerClassName()
Gets the value of the listenerClassName property. The name of a class that can act as a listener for alerts. Non-empty string containing a Java class name.- Returns:
- possible object is
String
-
setListenerClassName
void setListenerClassName(String value) throws PropertyVetoException
Sets the value of the listenerClassName property.- Parameters:
value
- allowed object isString
- Throws:
PropertyVetoException
-
getSubscribeListenerWith
@NotNull @NotNull String getSubscribeListenerWith()
Gets the value of the subscribeListenerWith property. A list of managed object names that the listener should be subscribed to. A non-empty, comma separated list.- Returns:
- possible object is
String
-
setSubscribeListenerWith
void setSubscribeListenerWith(String value) throws PropertyVetoException
Sets the value of the subscribeListenerWith property.- Parameters:
value
- allowed object isString
- Throws:
PropertyVetoException
-
getProperty
@ToDo(priority=IMPORTANT, details="Provide PropertyDesc for legal props") @PropertiesDesc(props={}) List<Property> getProperty()
Properties as perPropertyBag
- Specified by:
getProperty
in interfacePropertyBag
- Returns:
-
-