Class AnnotatedWithPackageScanFilter

  • All Implemented Interfaces:
    org.apache.camel.spi.PackageScanFilter

    public class AnnotatedWithPackageScanFilter
    extends Object
    implements org.apache.camel.spi.PackageScanFilter
    Package scan filter for testing if a given class is annotated with a certain annotation.
    • Constructor Detail

      • AnnotatedWithPackageScanFilter

        public AnnotatedWithPackageScanFilter​(Class<? extends Annotation> annotation)
      • AnnotatedWithPackageScanFilter

        public AnnotatedWithPackageScanFilter​(Class<? extends Annotation> annotation,
                                              boolean checkMetaAnnotations)
    • Method Detail

      • matches

        public boolean matches​(Class<?> type)
        Specified by:
        matches in interface org.apache.camel.spi.PackageScanFilter