@Deprecated public interface LoaderHandler
LoaderHandler
是实现RMI运行时内部使用的一个接口。它不应该被应用程序代码访问。
Modifier and Type | Field and Description |
---|---|
static String |
packagePrefix
过时的。
系统
LoaderHandler 实现包。
|
static final String packagePrefix
LoaderHandler
实现包。
@Deprecated 类<?> loadClass(String name) throws MalformedURLException, ClassNotFoundException
java.rmi.server.codebase
属性指定的位置的一类。
name
-类的名称来加载
类
对象
MalformedURLException
-如果系统性能
java.rmi.server.codebase包含无效的URL
ClassNotFoundException
-如果一个类的定义不能在代码库的位置找到。
@Deprecated 类<?> loadClass(URL codebase, String name) throws MalformedURLException, ClassNotFoundException
codebase
-从加载类的URL
name
-类的名称来加载
类
对象
MalformedURLException
-如果
codebase
参数包含无效的URL
ClassNotFoundException
-如果一个类的定义无法在指定的URL中找到
@Deprecated Object getSecurityContext(ClassLoader loader)
loader
-从一个类装载器得到的安全上下文
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.