Interface PropertyWalk

  • All Known Implementing Classes:
    Component, Configuration, Element, Pool, Resource

    public interface PropertyWalk
    The PropertyWalk interface specifies the contract between a pools configuration element and clients which are interested in enumerating the properties of the element.
    • Method Detail

      • walk

        int walk​(Element elem,
                 Value val,
                 java.lang.Object user)
          throws PoolsException
        Walk all properties of the invoking object, calling the
        Parameters:
        elem - The element to whom the property belongs.
        val - The value representing the current element.
        user - User supplied data, provided when the walk is invoked.
        Returns:
        0 to continue the walk, anything else to terminate it.
        Throws:
        PoolsException - If there is an error walking the property.