Maintaining a set of runtime objects. A method of the invention detects
creation of a runtime object by an application program or operating
system. The method evaluates a predicate for a set associated with the
runtime object to determine membership of the runtime object in the set.
Further, one or more properties of the set may be applied to the
determined runtime object members of the set (e.g., to control access to
a resource).