Patent ID: 9727381
Date: 2017-08-08
CPC Classifications: G06F

Claim:
1. An image forming apparatus comprising: one or more processors; and a memory coupled to the one or more processors and having stored thereon instructions, which, when executed by the one or more processors, cause the image forming apparatus to: acquire information that defines an identifier of an application belonging to an application set and a use resource amount declared for the application set; specify an application set to which an application belongs, based on an identifier of the application in response to a call of a resource acquisition API from the application, and specify a use resource amount declared for the specified application set from the information; when a value obtained by adding a resource amount requested by the application to a total resource amount used by the application set exceeds the specified use resource amount, not transfer a resource object to the application, and when the value does not exceed the use resource amount declared, transfer the resource object to the application; and determine that the application which calls the resource acquisition API belongs to the application set and the application is a target of group management to which a resource is assigned from resources shared in the application set, wherein when the application is not a target of the group management, a use resource amount declared for the application is specified from the information, wherein when the application is not a target of the group management and the application exceeds the specified use resource amount as a result of adding the resource amount requested by the application to the total resource amount used by the application, the resource object is not transferred to the application, and when the application does not exceed the use resource amount declared, the resource object is transferred to the application, and wherein the group management is started by adding the information that defines the identifier of the application belonging to the application set and the use resource amount declared for the application set, and is stopped by deleting the information.