Sharing resources among hierarchical containers of resources
First Claim
1. A computer implemented method for sharing a resource among a plurality of resource containers in a data processing system, the computer implemented method comprising:
- creating a shared resource container for at least one resource to be shared, responsive to receiving a request identifying the at least one resource to be shared;
identifying the at least one resource to be shared from an original resource container, wherein the original resource container is unshared;
moving each at least one resource to be shared from a respective original resource container to the shared resource container;
creating a direct link between each respective original resource container and a corresponding each at least one resource to be shared in the shared resource container;
obtaining a list of the original resource containers having the direct link to the corresponding at least one shared resource in the shared resource container, responsive to receiving a request identifying the at least one shared resource to be unshared;
responsive to a determination there are more original resource containers in the list with links to the at least one shared resource, removing a link to the at least one shared resource from each respective original resource container;
copying the at least one shared resource from the shared resource container to the each respective original container; and
responsive to a determination there are no more original resource containers in the list with links to the at least one shared resource removing the at least one shared resource to be unshared from the shared resource container.
0 Assignments
0 Petitions
Accused Products
Abstract
Computer implemented method, system and computer usable program code for sharing resources among a plurality of containers in a data processing system. A computer implemented method includes creating a shared container for at least one resource to be shared. Then the at least one resource to be shared is moved from an original container of the at least one resource to the shared container, and a link is created between the original container and the at least one resource to be shared in the shared resource container. A link can also be created between a subject resource container and a shared resource in the shared resource container to enable the subject resource container to access and use the shared resource. A shared resource can also be removed from the shared resource container and returned to an original resource container when sharing of the resource is no longer desired.
-
Citations
20 Claims
-
1. A computer implemented method for sharing a resource among a plurality of resource containers in a data processing system, the computer implemented method comprising:
-
creating a shared resource container for at least one resource to be shared, responsive to receiving a request identifying the at least one resource to be shared; identifying the at least one resource to be shared from an original resource container, wherein the original resource container is unshared; moving each at least one resource to be shared from a respective original resource container to the shared resource container; creating a direct link between each respective original resource container and a corresponding each at least one resource to be shared in the shared resource container; obtaining a list of the original resource containers having the direct link to the corresponding at least one shared resource in the shared resource container, responsive to receiving a request identifying the at least one shared resource to be unshared; responsive to a determination there are more original resource containers in the list with links to the at least one shared resource, removing a link to the at least one shared resource from each respective original resource container; copying the at least one shared resource from the shared resource container to the each respective original container; and responsive to a determination there are no more original resource containers in the list with links to the at least one shared resource removing the at least one shared resource to be unshared from the shared resource container. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer program product for sharing a resource among a plurality of resource containers, the computer program product comprising:
-
one or more computer-readable tangible storage devices; program instructions stored on the one or more computer-readable tangible storage devices, the program instructions comprising; program instructions for creating a shared resource container for at least one resource to be shared, responsive to receiving a request identifying the at least one resource to be shared; program instructions for identifying the at least one resource to be shared from an original resource container, wherein the original resource container is unshared; program instructions for moving each at least one resource to be shared from a respective original resource container to the shared resource container; program instructions for creating a direct link between each respective original resource container and a corresponding each at least one resource to be shared in the shared resource container; program instructions for obtaining a list of the original resource containers having the direct link to the corresponding at least one shared resource in the shared resource container, responsive to receiving a request identifying the at least one shared resource to be unshared; program instructions responsive to a determination there are more original resource containers in the list with links to the at least one shared resource, for removing a link to the at least one shared resource from each respective original resource container; program instructions for copying the at least one shared resource from the shared resource container to the each respective original container; and program instructions responsive to a determination there are no more original resource containers in the list with links to the at least one shared resource, for removing the at least one shared resource to be unshared from the shared resource container. - View Dependent Claims (12, 13, 14)
-
-
15. A system for sharing a resource among a plurality of resource containers in a data processing system, comprising:
-
one or more processors, one or more computer readable memories, and one or more computer-readable tangible storage devices; program instructions, stored in the one or more computer-readable tangible storage devices for execution by the one or more processors, using the one or more computer readable memories, and the one or more computer-readable tangible storage devices to direct the system to; create a shared resource container for at least one resource to be shared, responsive to receiving a request identifying the at least one resource to be shared; identify the at least one resource to be shared from an original resource container, wherein the original resource container is unshared; move each at least one resource to be shared from a respective original resource container to the shared resource container; create a direct link between each respective original resource container and a corresponding each at least one resource to be shared in the shared resource container; obtain a list of the original resource containers having the direct link to the corresponding at least one shared resource in the shared resource container, responsive to receiving a request identifying the at least one shared resource to be unshared; responsive to a determination there are more original resource containers in the list with links to the at least one shared resource, remove a link to the at least one shared resource from each respective original resource container; copy the at least one shared resource from the shared resource container to the each respective original container; and responsive to a determination there are no more original resource containers in the list with links to the at least one shared resource, remove the at least one shared resource to be unshared from the shared resource container. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification