Resource adapter classloading
First Claim
1. A method for loading a class with a resource adapter classloader, the method comprising:
- detecting an indicator specifying that at least one class loaded by a classloader associated with a resource adapter is to be made accessible to at least one other classloader;
making the at least one class loaded by the classloader associated with the resource adapter accessible to a system classloader; and
permitting at least one other classloader the capability to access the at least one class loaded by the classloader associated with the resource adapter via the system classloader.
2 Assignments
0 Petitions
Accused Products
Abstract
In accordance with embodiments, there are provided mechanisms and methods for loading a class with a resource adapter classloader and enabling the class to be accessible by other components that interconnect with the resource adapter. In an embodiment, a method for loading a class with a resource adapter classloader is provided that includes detecting an indicator specifying that at least one class loaded by a classloader associated with a resource adapter be made accessible to at least one other classloader. The at least one class loaded by the classloader associated with the resource adapter is made accessible to a system classloader. The at least one other classloader is permitted the capability to access the at least one class loaded by the classloader associated with the resource adapter via the system classloader.
39 Citations
17 Claims
-
1. A method for loading a class with a resource adapter classloader, the method comprising:
-
detecting an indicator specifying that at least one class loaded by a classloader associated with a resource adapter is to be made accessible to at least one other classloader;
making the at least one class loaded by the classloader associated with the resource adapter accessible to a system classloader; and
permitting at least one other classloader the capability to access the at least one class loaded by the classloader associated with the resource adapter via the system classloader. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A machine-readable medium carrying one or more sequences of instructions for loading a class with a resource adapter classloader, which instructions, when executed by one or more processors, cause the one or more processors to carry out the steps of:
-
detecting an indicator specifying that at least one class loaded by a classloader associated with a resource adapter is to be made accessible to at least one other classloader;
making the at least one class loaded by the classloader associated with the resource adapter accessible to a system classloader; and
permitting at least one other classloader the capability to access the at least one class loaded by the classloader associated with the resource adapter via the system classloader. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
-
16. The machine-readable medium as recited in claim 16, further comprising instructions for carrying out the step of:
organizing the scope for classes associated with each classloader according to a hierarchy.
-
17. A resource adapter apparatus, the apparatus comprising:
-
a cache memory;
a classloader to load instances of classes into the cache memory;
a mechanism to detect an indicator specifying that at least one class loaded by a classloader is to be made accessible to at least one other classloader; and
a mechanism for making the at least one class loaded by the classloader into the cache accessible to a system classloader;
thereby enabling permitting at least one other classloader the capability to access the at least one class loaded by the classloader via the system classloader.
-
Specification