Package de.codecentric.cxf.autodetection
Class WebServiceScanner
- java.lang.Object
-
- de.codecentric.cxf.autodetection.WebServiceScanner
-
public class WebServiceScanner extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringNO_CLASS_FOUND
-
Constructor Summary
Constructors Constructor Description WebServiceScanner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Class<?>classForName(String className)protected booleanisInterface(String className)protected ClassjustPickTheClassThatIsAnInterface(List<String> namesOfClassesWithAnnotation)protected ClassjustPickTheClassThatIsNotAnInterface(List<String> namesOfClasses)protected <T extends Annotation>
List<String>scanForClassNamesWithAnnotation(Class<T> annotation, String packageName)protected <T> ClassscanForClassWhichImplementsAndPickFirst(Class<T> interfaceName, String packageName)protected <T extends Annotation>
ClassscanForClassWithAnnotationAndIsAnInterface(Class<T> annotationName, String packageName)protected <T extends Annotation>
ClassscanForClassWithAnnotationAndPickTheFirstOneFound(Class<T> annotationName, String packageName)
-
-
-
Field Detail
-
NO_CLASS_FOUND
protected static final String NO_CLASS_FOUND
- See Also:
- Constant Field Values
-
-
Method Detail
-
scanForClassWhichImplementsAndPickFirst
protected <T> Class scanForClassWhichImplementsAndPickFirst(Class<T> interfaceName, String packageName) throws BootStarterCxfException
- Throws:
BootStarterCxfException
-
justPickTheClassThatIsNotAnInterface
protected Class justPickTheClassThatIsNotAnInterface(List<String> namesOfClasses) throws BootStarterCxfException
- Throws:
BootStarterCxfException
-
scanForClassWithAnnotationAndPickTheFirstOneFound
protected <T extends Annotation> Class scanForClassWithAnnotationAndPickTheFirstOneFound(Class<T> annotationName, String packageName) throws BootStarterCxfException
- Throws:
BootStarterCxfException
-
scanForClassNamesWithAnnotation
protected <T extends Annotation> List<String> scanForClassNamesWithAnnotation(Class<T> annotation, String packageName) throws BootStarterCxfException
- Throws:
BootStarterCxfException
-
scanForClassWithAnnotationAndIsAnInterface
protected <T extends Annotation> Class scanForClassWithAnnotationAndIsAnInterface(Class<T> annotationName, String packageName) throws BootStarterCxfException
- Throws:
BootStarterCxfException
-
justPickTheClassThatIsAnInterface
protected Class justPickTheClassThatIsAnInterface(List<String> namesOfClassesWithAnnotation) throws BootStarterCxfException
- Throws:
BootStarterCxfException
-
isInterface
protected boolean isInterface(String className) throws BootStarterCxfException
- Throws:
BootStarterCxfException
-
classForName
protected Class<?> classForName(String className) throws BootStarterCxfException
- Throws:
BootStarterCxfException
-
-