Interface PropertyBackedBeanState

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getProperty​(java.lang.String name)
      Gets a property value.
      java.util.Set<java.lang.String> getPropertyNames()
      Gets the names of all properties.
      void removeProperty​(java.lang.String name)
      Removes a property.
      void setProperty​(java.lang.String name, java.lang.String value)
      Sets the value of a property.
      void start()
      Starts up the component, using its new property values.
      void stop()
      Stops the component, so that its property values can be changed.
    • Method Detail

      • getPropertyNames

        java.util.Set<java.lang.String> getPropertyNames()
        Gets the names of all properties.
        Returns:
        the property names
      • getProperty

        java.lang.String getProperty​(java.lang.String name)
        Gets a property value.
        Parameters:
        name - the name
        Returns:
        the property value
      • setProperty

        void setProperty​(java.lang.String name,
                         java.lang.String value)
        Sets the value of a property. This may only be called after stop().
        Parameters:
        name - the property name
        value - the property value
      • removeProperty

        void removeProperty​(java.lang.String name)
        Removes a property. This may only be called after stop().
        Parameters:
        name - the property name
      • start

        void start()
        Starts up the component, using its new property values.
      • stop

        void stop()
        Stops the component, so that its property values can be changed.