发明名称 Class loader
摘要 <p>A class loader (206, 208, 210, 212, 214) is provided for automatically accessing classes across a namespace boundary (206a, 208a, 210a, 212a, 214a) without requiring the accessed classes to be public. A first cassette (108), comprising a first collection of classes (108a, 108b), is dependent upon a second cassette (106). Classes from within the first cassette (108) are loaded by a first class loader (208) and classes from within the second cassette (106) are loaded by a second class loader (206). When a first reference (302) is made to an unloaded class from within the first cassette, the referenced class is searched (304, 308) for in the second, depending, cassette. If found, it is loaded (310) by the second class loader. Only if the referenced class if not found in the second cassette is it searched (312,314) for in the first cassette. If, however, the referenced class is protected "private" in the second cassette, it will not be accessible to the first cassette. &lt;IMAGE&gt;</p>
申请公布号 EP0969361(A1) 申请公布日期 2000.01.05
申请号 EP19990202071 申请日期 1999.06.26
申请人 SUN MICROSYSTEMS, INC. 发明人 GUINAN, DANIEL J.;HART, LOREN L.
分类号 G06F9/45;G06F9/44;G06F9/445;G06F9/46;(IPC1-7):G06F9/445 主分类号 G06F9/45
代理机构 代理人
主权项
地址