Class ServletAnnotationFinder

  • All Implemented Interfaces:
    org.codehaus.plexus.logging.LogEnabled

    @Component(role=ServletAnnotationFinder.class)
    public class ServletAnnotationFinder
    extends org.codehaus.plexus.logging.AbstractLogEnabled
    The goal is to find classed annotated with RemoteServiceRelativePath to generated ServletDescriptor
    Since:
    2.1.0-1
    Author:
    Olivier Lamy
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<ServletDescriptor> findServlets​(java.lang.String packageName, java.lang.String startPath, java.lang.ClassLoader classLoader)  
      • Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled

        enableLogging, getLogger, setupLogger, setupLogger, setupLogger
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ServletAnnotationFinder

        public ServletAnnotationFinder()
    • Method Detail

      • findServlets

        public java.util.Set<ServletDescriptor> findServlets​(java.lang.String packageName,
                                                             java.lang.String startPath,
                                                             java.lang.ClassLoader classLoader)
                                                      throws java.io.IOException
        Parameters:
        packageName -
        Returns:
        cannot return null
        Throws:
        java.io.IOException