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