摘要 |
PROBLEM TO BE SOLVED: To access a class in a cassette while exceeding a name space border by including the trial of the loading inquired from a 1st cassette in response to an inquiry from a 2nd cassette and the trial of the loading of the inquired class from the 2nd cassette in case of failure in loading the inquired class from the 1st cassette. SOLUTION: A class in a cassette 106 is able to access objects and classes included in cassettes 108 and 110. Further, the class is able to access other cassettes in subordination relation with the cassette 108. Access to a subordinate cassette is allowed even when each subordinating cassette in the environment is loaded by a different class loader operating in a different name space. A class in the subordinate cassette (e.g. class in package 108a) is protected against access by the class in the cassette 106 by being protected as 'private'.
|