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 Type
    Method
    Description
    @NotNull String
    Gets the value of the listenerClassName property.
    List<org.jvnet.hk2.config.types.Property>
    Properties as per PropertyBag
    @NotNull String
    Gets the value of the subscribeListenerWith property.
    void
    Sets the value of the listenerClassName property.
    void
    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 Details

    • 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 is String
      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 is String
      Throws:
      PropertyVetoException
    • getProperty

      @ToDo(priority=IMPORTANT, details="Provide PropertyDesc for legal props") @PropertiesDesc(props={}) List<org.jvnet.hk2.config.types.Property> getProperty()
      Properties as per PropertyBag
      Specified by:
      getProperty in interface org.jvnet.hk2.config.types.PropertyBag