Nanning Aspects
- 授权协议: Apache
- 开发语言: Java
- 操作系统: 跨平台
- 软件首页: http://nanning.codehaus.org/
- 软件文档: http://nanning.codehaus.org/usage.html
软件介绍
Nanning Aspects 是一个简单的可扩展的面向方面的 Java 框架。
示例代码:
Method method = Interface.class.getMethod("call", null);
AspectInstance aspectInstance = new AspectInstance();
Mixin mixin = new Mixin(Interface.class, new Target());
mixin.addInterceptor(method, new MethodInterceptor() {
public void invoke(Invocation invocation) {
System.out.println("Hello world from an interceptor on " + invocation.getMethod());
Object result = invocation.invokeNext(); // passes call on to next interceptor or target
return result: // result will be passed on to the caller as the return value of the call
}
});
aspectInstance.addMixin(mixin);
Interface proxy = (Interface) aspectInstance.getProxy();
proxy.call();
HTML5从入门到精通
明日科技 / 清华大学出版社 / 2012-9 / 59.80元
《HTML5从入门到精通》系统、全面地讲解了HTML语言及其最新版本HTML5的新功能与新特性,技术新颖实用。书中所有知识点均结合实例进行讲解,方便读者动手实践。同时在每章的最后还设置了习题,通过这些习题可以对本章学到的知识进行巩固。《HTML5从入门到精通》不仅能够使读者系统而全面地学习理论知识,还能满足读者充分实践的需求。一起来看看 《HTML5从入门到精通》 这本书的介绍吧!
