Patent ID: 7051067
Filing Date: 2006-05-23
Classification: G06F

Abstract:
1. In a system comprising an application, a framework, and an implementation class which provides an implementation for a particular service, a method performed by the framework, comprising: receiving a request from an application for a customized implementation of a particular service; instantiating an implementation class which provides an implementation for the particular service to give rise to an implementation instance; determining a set of zero or more restrictions to be imposed on said customized implementation; instantiating a wrapper class to give rise to a wrapper instance, said wrapper instance comprising enforcement logic for enforcing said restrictions; encapsulating said implementation instance and said restrictions within said wrapper instance; and providing said wrapper instance to the application as said customized implementation; wherein said wrapper instance comprises one or more invocable methods, wherein said implementation instance comprises one or more invocable methods, and wherein encapsulating comprises: mapping the one or more invocable methods of said wrapper instance to the one or more invocable methods of said implementation instance; wherein determining the set of zero or more restrictions comprises: accessing information specifying one or more limitations; and processing said limitations to derive said restrictions; and wherein the particular service is an encryption/decryption service, and wherein said information comprises a set of one or more default encryption limitations.