Class AnnotationParser

    • Constructor Detail

      • AnnotationParser

        public AnnotationParser​(int javaPlatform)
    • Method Detail

      • indexBundle

        protected Resource indexBundle​(org.osgi.framework.Bundle bundle)
                                throws java.lang.Exception
        Keep track of a jetty URI Resource and its associated OSGi bundle.
        Parameters:
        bundle - the bundle to index
        Returns:
        the resource for the bundle
        Throws:
        java.lang.Exception - if unable to create the resource reference
      • getURI

        protected java.net.URI getURI​(org.osgi.framework.Bundle bundle)
      • getResource

        protected Resource getResource​(org.osgi.framework.Bundle bundle)
      • getBundle

        protected org.osgi.framework.Bundle getBundle​(Resource resource)
      • parse

        public void parse​(java.util.Set<? extends AnnotationParser.Handler> handlers,
                          java.net.URI[] uris)
                   throws java.lang.Exception
        Description copied from class: AnnotationParser
        Parse classes in the supplied uris.
        Overrides:
        parse in class AnnotationParser
        Parameters:
        handlers - the handlers to look for classes in
        uris - the uris for the jars
        Throws:
        java.lang.Exception - if unable to parse
      • parse

        protected void parse​(java.util.Set<? extends AnnotationParser.Handler> handlers,
                             org.osgi.framework.Bundle bundle)
                      throws java.lang.Exception
        Throws:
        java.lang.Exception