摘要: Tapestry用来对服务进行配置的方式对服务进行配置需要用到contribute,然后+serviceId。看一下代码:public static void arbitraryMethodName(MappedConfiguration configuration){ configurati... 阅读全文
posted @ 2014-06-10 10:50 VoctrALs 阅读(238) 评论(0) 推荐(0) 编辑
摘要: Advisor VS. DecoratorService Decoration is augmented withService Advice.Advisor: 跟Decorator相似,且普通,因为它作用于接口,在编译时根本就不会去考虑。Decorator: 在编译时,Tapestry就会知道哪一... 阅读全文
posted @ 2014-06-10 10:25 VoctrALs 阅读(148) 评论(0) 推荐(0) 编辑