2012年6月3日
摘要: Using filters to customize scanningBy default, classes annotated with @Component, @Repository, @Service, @Controller, or a custom annotation that itself is annotated with @Component are the only detected candidate components. However, you can modify and extend this behavior simply by applying custom 阅读全文
posted @ 2012-06-03 10:03 oceanking 阅读(1272) 评论(0) 推荐(0) 编辑
摘要: 关键词:Class.forName("ClassName")Class.forName("ClassName").newInstance()详见:http://blog.csdn.net/chiuan/article/details/7022508 阅读全文
posted @ 2012-06-03 09:58 oceanking 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 一句话描述:用对象获取其类。object.getClass()Class.forName("ClassName").getMethod("MethodName")详见:http://www.cnblogs.com/rollenholt/archive/2011/09/02/2163758.html 阅读全文
posted @ 2012-06-03 09:57 oceanking 阅读(128) 评论(0) 推荐(0) 编辑