Package com.sun.solaris.service.pools
Interface PropertyWalk
-
- All Known Implementing Classes:
Component,Configuration,Element,Pool,Resource
public interface PropertyWalkThePropertyWalkinterface specifies the contract between a pools configuration element and clients which are interested in enumerating the properties of the element.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intwalk(Element elem, Value val, java.lang.Object user)Walk all properties of the invoking object, calling the
-
-
-
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.
-
-