Interface ListenerConfig
- All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy,org.jvnet.hk2.config.types.PropertyBag
public interface ListenerConfig
extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.config.types.PropertyBag
Connects a specific listener class with specific managed objects
-
Method Summary
Modifier and TypeMethodDescription@NotNull StringGets the value of the listenerClassName property.List<org.jvnet.hk2.config.types.Property> Properties as perPropertyBag@NotNull StringGets the value of the subscribeListenerWith property.voidsetListenerClassName(String value) Sets the value of the listenerClassName property.voidsetSubscribeListenerWith(String value) Sets the value of the subscribeListenerWith property.Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParentMethods inherited from interface org.jvnet.hk2.config.types.PropertyBag
addProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removeProperty
-
Method Details
-
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
Sets the value of the listenerClassName property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
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
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<org.jvnet.hk2.config.types.Property> getProperty()Properties as perPropertyBag- Specified by:
getPropertyin interfaceorg.jvnet.hk2.config.types.PropertyBag
-