org.reflections.spring
Class ReflectionsNamespaceHandler
java.lang.Object
org.springframework.beans.factory.xml.NamespaceHandlerSupport
org.reflections.spring.ReflectionsNamespaceHandler
- All Implemented Interfaces:
- org.springframework.beans.factory.xml.NamespaceHandler
public class ReflectionsNamespaceHandler
- extends org.springframework.beans.factory.xml.NamespaceHandlerSupport
Reflections conponent-scan.
scan components using Reflections scan.
optionally collect saved resources using Reflections.collect() from META-INF/reflections/{basePackage}-reflections.xml
optionally save scanned resources using Reflections.save(String) to META-INF/reflections/{basePackage}-reflections.xml
<beans
...
xmlns:reflections="http://org.reflections"
xsi:schemaLocation="...
http://org.reflections http://org.reflections/reflections.xsd">
...
<reflections:component-scan base-package="my.package.prefix"
collect="false" save="false" parallel="true">
</reflections:component-scan>
|
Method Summary |
void |
init()
|
| Methods inherited from class org.springframework.beans.factory.xml.NamespaceHandlerSupport |
decorate, parse, registerBeanDefinitionDecorator, registerBeanDefinitionDecoratorForAttribute, registerBeanDefinitionParser |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReflectionsNamespaceHandler
public ReflectionsNamespaceHandler()
init
public void init()
Copyright © 2013. All Rights Reserved.