摘要:
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 阅读全文
摘要:
关键词:Class.forName("ClassName")Class.forName("ClassName").newInstance()详见:http://blog.csdn.net/chiuan/article/details/7022508 阅读全文
摘要:
一句话描述:用对象获取其类。object.getClass()Class.forName("ClassName").getMethod("MethodName")详见:http://www.cnblogs.com/rollenholt/archive/2011/09/02/2163758.html 阅读全文