Multi-tenant application using hierarchical bean factory container
AssigneeOracle International Corporation
InventorVikrant Jain
Life of this patent
Estimating the term…
Abstract
Various embodiments provide on premise and cloud deployment support for components that may not be multi-tenant enabled. A single application in a highly non-intrusive way without effecting application functional logic. On premise deployments can run with fixed default tenant and no tenant information needs to be captured anywhere anytime. The application code accesses the hierarchical bean factory to get any tenant specific or shared resources seamlessly without knowledge of multi-tenancy in functional code anywhere.
Claims20
A method comprising:
- receiving, at a computing device having one or more processors, a hierarchical bean factory associated with an application, a parent bean factory representing a shared application context and each child bean factory representing an entity specific application context;
- receiving a request to invoke a function associated with the application;
- determining, by the computing device, an entity based on the request;
- determining, by the computing device, a child bean factory in the hierarchical bean factory that is associated with the entity;
- and
- invoking, by the computing device, the function associated with the application using the child bean factory specific to the entity.
A non-transitory computer-readable medium storing a computer program product which when executed by a processor of a computer systems causes the processor to:
- receive a hierarchical bean factory associated with an application, a parent bean factory representing a shared application context and each child bean factory representing an entity specific application context;
- receive a request to invoke a function associated with the application;
- determine an entity based on the request;
- determine a child bean factory in the hierarchical bean factory that is associated with the entity;
- and
- cause the function associated with the application to be invoked using the child bean factory specific to the entity.
A system comprising:
- at least one processor;
- a memory storing a computer program product which when executed by the processor causes the processor to:
- receive a hierarchical bean factory associated with an application, a parent bean factory representing a shared application context and each child bean factory representing an entity specific application context;
- receive a request to invoke a function associated with the application;
- determine an entity based on the request;
- determine a child bean factory in the hierarchical bean factory that is associated with the entity;
- and
- cause the function associated with the application to be invoked using the child bean factory specific to the entity.
Dependencies are inferred from the claim text.