SmartproxyJava类动态代理框架
Smartproxy 是一个 Java 的动态类和实例代理框架,类似 java.lang.reflect.Proxy 类所作的工作,但无需调用 InvocationHandler 接口。Smartproxy 通过底层对象提供对抽象类方法的重载。Smartproxy 使用 BCEL 类库。
示例代码:
// Create the proxy factory for the set on interface/implementor.
ProxyFactory factory = ProxyFactory.getInstance(SimpleImplementor.class, SimpleInterface.class);
// Creates an underlying object.
SimpleInterface base = new SimpleBaseClass();
// Proxify the underlying object.
SimpleInterface proxified = (SimpleInterface) factory.createProxy(new Object[] { base });
评论
Dynamic-proxy动态代理框架
Dynamic-proxy 是一个Java开发人员在生成代理对象时非常有用的库。该库利用了多种字节码生成方法,包括:ASMCGLIBJavassistJDKDynamicProxyByteBuddyM
Dynamic-proxy动态代理框架
0
djcproxy动态 Java 类代理
djcproxy是一个小型的Java库,实现动态Java类代理。使用它可以在运行时对已存在的对象创建代理对象,用来创建面向方面特性。例如度量某个方法的执行时间,修改方法行为,记录方法执行等等。完整示例
djcproxy动态 Java 类代理
0
ShoalJava动态聚类框架
Shoal是一个基于Java的可扩展的动态聚类的框架,提供基础设施建设的容错性,可靠性和可用性。该框架可以插入任何产品需要集群和分布式系统有关的能力紧密结合,而不限定某种通信基础设施。
ShoalJava动态聚类框架
0
CGLibJava 动态代理
CGLib(CodeGenerationLibrary)是一个强大的、高性能、高质量的Code生成类库。它可以在运行期扩展Java类与实现Java接口。Hibernate用它来实现PO字节码的动态生成
CGLibJava 动态代理
0