Patent ID: 7631302

Claim:
A method in a computer system for validating arguments received with a request to activate a computer application, the request being received and validated prior to the activation of the computer application, the method comprising: receiving the request to activate a computer application, the request having one or more arguments to be validated; accessing a manifest associated with the computer application, the manifest containing information for identifying a compiler generated assembly with information for validating the one or more arguments received with the request to activate the computer application; identifying the compiler generated assembly indicated in the manifest associated with the computer application; instantiating an instance of a class in the identified compiler generated assembly, the instance of the class being utilized to validate the arguments received in the request; type checking the one or more arguments utilizing the instantiated instance of the class in the compiler generated assembly; setting a value of one or more properties of the class corresponding to the one or more arguments; and activating the computer application, wherein one or more properties of the computer application are set to the value of the one or more properties of the class corresponding to the one or more arguments received in the request to activate the application, such that the computer application is activated with one or more validated properties corresponding to the one or more arguments received in the request.