1. A method, in a data processing system, for extending operations of an application, comprising: responsive to running a primary operation, identifying all pre and post operations based on predefined metadata and environment context of the application; recursively running all pre operations in a predefined order; executing the primary operation; and recursively running all post operations in a predefined order.