1. A method for optimizing performance in a computing environment, the method comprising: annotating logic code associated with a software component; and monitoring execution of the annotated logic code to determine whether a condition has been satisfied, wherein annotations in the logic code provide one or more details about the software component, the details being useful to a healing agent to correct or prevent a problem associated with said condition during the execution of the logic code.