首页>
外国专利>
Hierarchical arrangement of modified class loaders and token driven class loaders and methods of use
Hierarchical arrangement of modified class loaders and token driven class loaders and methods of use
展开▼
机译:修改后的类加载器和令牌驱动类加载器的层次结构及其使用方法
展开▼
页面导航
摘要
著录项
相似文献
摘要
Methods and apparatus, including computer program products, implement a hierarchical arrangement of class loaders. Each class loader has a naming token, and each token driven class loader has one or more delegation tokens. A class definition request is received in a first, token driven class loader. If the first class loader has a parent class loader, the class definition is requested from the parent. If the parent is a token driven class loader, delegation tokens are used to delegate the class definition request to the parent. If the class definition is not obtained from a parent class loader, an attempt is made to obtain the class definition from the resources of the first class loader. If that also fails, the delegation tokens of the first class loader are used to find a matching child class loader and the class definition is requested from the matching child class loader.
展开▼