b) 自定义类加载器(Custom ClassLoader) 通过自定义类加载器,可以加载加密过的.class 文件,在加载时使用自定义的类 加载器解密的方式提高代码的安全性。
基于11个网页-相关网页
Notice how I access the class from a custom class loader, which loads the compiled bytecodes upon request.
注意我是如何使用自定义的类加载器访问这个类的,该加载器按照请求加载编译后的字节码。
A real implementation may need another custom class loader that would search through some classpath provided just for the compilation.
真正的实现可能需要其他自定义类加载器,该加载器将搜索为编译提供的某些类路径。
This serialization is commonly the case when custom payload types are packaged in the portlet WAR file because each Web module is deployed in its own class loader.
当在Portlet WAR文件中对自定义有效负载类型打包时,通常就会出现这种序列化情况,因为每个Web模块是在各自的类加载器中进行部署的。
应用推荐