Pattern-Oriented Software Architecture, Patterns for Resource Management