System and method for determination of partition identifiers in a multitenant application server environment
First Claim
1. A system for determination of partition identifiers in an application server environment, comprising:
- one or more computers, including an application server environment executing thereon, together witha plurality of deployable resources which can be used within the application server environment, andone or more partitions including a targeted partition, wherein each partition provides an administrative and runtime subdivision of a domain, and is associated with a partition identifier, and wherein the targeted partition defines values of configuration data for a collection of the deployable resources for use with the targeted partition, and binds the collection of deployable resources to the defined values for use with the targeted partition;
a partition-aware container that determines that a target resource of a request is included in the collection of deployable resources of the targeted partition, and sets a component invocation context that is associated with the partition identifier of the targeted partition;
a component invocation context manager, the component invocation context manager including a stack for maintaining component invocation contexts;
wherein the partition-aware container performs one of registering the component invocation context that is associated with the partition identifier of the targeted partition by pushing the component invocation context that represents the request onto the stack, or looking up a current component invocation context at the component invocation context manager by requesting the current component invocation context from the stack.
1 Assignment
0 Petitions
Accused Products
Abstract
In accordance with an embodiment, described herein is a system and method for determination of partition identifiers in an application server environment. An exemplary method can begin with providing, at one or more computers, including an application server environment executing thereon, together with a plurality of deployable resources which can be used within the application server environment, one or more partitions, wherein each partition provides an administrative and runtime subdivision of a domain, and a component invocation context manager, the component invocation context manager comprising a stack. The method can set one or more component invocation contexts. The partition-aware container can perform one of registering or looking up a current component invocation context at the component invocation context manager. The current component invocation context can be associated with a current partition. The method and system can be utilized in multitenant as well as non-multitenant application server environments.
10 Citations
20 Claims
-
1. A system for determination of partition identifiers in an application server environment, comprising:
-
one or more computers, including an application server environment executing thereon, together with a plurality of deployable resources which can be used within the application server environment, and one or more partitions including a targeted partition, wherein each partition provides an administrative and runtime subdivision of a domain, and is associated with a partition identifier, and wherein the targeted partition defines values of configuration data for a collection of the deployable resources for use with the targeted partition, and binds the collection of deployable resources to the defined values for use with the targeted partition; a partition-aware container that determines that a target resource of a request is included in the collection of deployable resources of the targeted partition, and sets a component invocation context that is associated with the partition identifier of the targeted partition; a component invocation context manager, the component invocation context manager including a stack for maintaining component invocation contexts; wherein the partition-aware container performs one of registering the component invocation context that is associated with the partition identifier of the targeted partition by pushing the component invocation context that represents the request onto the stack, or looking up a current component invocation context at the component invocation context manager by requesting the current component invocation context from the stack. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method for determination of partition identifiers in an application server environment, comprising:
-
providing, at one or more computers, an application server environment executing thereon, together with a plurality of deployable resources which can be used within the application server environment, one or more partitions including a targeted partition, wherein each partition provides an administrative and runtime subdivision of a domain, and is associated with a partition identifier, and wherein the targeted partition defines values of configuration data for a collection of the deployable resources for use with the targeted partition, and binds the collection of deployable resources to the defined values for use with the targeted partition, and a component invocation context manager, the component invocation context manager comprising a stack for maintaining component invocation contexts; determining, at a partition-aware container, that a target resource of a request is included in the collection of deployable resources of the targeted partition; setting, at the partition-aware container, a component invocation context that is associated with the partition identifier of the targeted partition; performing, by the partition-aware container performs, one of registering the component invocation context that is associated with the partition identifier of the targeted partition by pushing the component invocation context that represents the request onto the stack, or looking up a current component invocation context at the component invocation context manager by requesting the current component invocation context from the stack. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A non-transitory computer readable storage medium, including instructions stored thereon for determination of partition identifiers in an application server environment which when read and executed by one or more computers cause the one or more computers to perform steps comprising:
-
providing, at one or more computers, an application server environment executing thereon, together with a plurality of deployable resources which can be used within the application server environment, one or more partitions including a targeted partition, wherein each partition provides an administrative and runtime subdivision of a domain, and is associated with a partition identifier, and wherein the targeted partition defines values of configuration data for a collection of the deployable resources for use with the targeted partition, and binds the collection of deployable resources to the defined values for use with the targeted partition, and a component invocation context manager, the component invocation context manager comprising a stack for maintaining component invocation contexts; determining, at a partition-aware container, that a target resource of a request is included in the collection of deployable resources of the targeted partition; setting, at the partition-aware container, a component invocation context that is associated with the partition identifier of the targeted partition; performing, by the partition-aware container performs, one of registering the component invocation context that is associated with the partition identifier of the targeted partition by pushing the component invocation context that represents the request onto the stack, or looking up a current component invocation context at the component invocation context manager by requesting the current component invocation context from the stack. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification