Patent Document ID: 7779043
Application ID: 11321209

Base Claim:
1. A system for automatically building objects and automatically defining a relationship between objects based upon context during runtime of an application using the objects, the system comprising: one or more computer storage media having stored thereon: a reception component that, when executed by a processor, receives a customized composition strategy given in a context associated with a target object, wherein the received customized composition strategy is independently built and used, without requiring changes to a consuming application and without requiring changes to other strategies of a plurality of customized composition strategies; an implementation component that automatically implements the customized composition strategy to create the target object based at least in part upon the context associated with the target object, wherein: the context associated with the target object is based on a current context of the consuming application separate from the reception and implementation components that uses the target object, the consuming application being at runtime such that the current context corresponds to a runtime context of the consuming application; and a framework associated with implementing the customized composition strategy allows for an addition of new customized composition strategies and defines a use for such strategies, and such that creation of the target object is performed during runtime of the consuming application; an ordering component that facilitates execution of the customized composition strategy in an order that is determined by the context associated with the target object, such that the customized composition strategy is ordered for execution in a different order with respect to the other strategies of the plurality of customized composition strategies when the consuming application has different contexts at runtime; and a context component that determines the context associated with the target object, wherein the context associated with the target object includes context of the application associated with the target object, existing objects associated with the target object, and relationships between the existing objects, wherein the context is a set of components that are relevant to the application and the target object at runtime of the consuming application, and at least one of the existing objects is a remote object.

---

Claim 4:
4. The system of claim 1 , wherein the customized composition strategy is a permanent policy or a transient policy.