Text this: An Architecture-Based Adaptation Framework for Soft Real-Time Applications