public class AnnotationParser extends AnnotationParser
AnnotationParser.AbstractHandler, AnnotationParser.ClassInfo, AnnotationParser.FieldInfo, AnnotationParser.Handler, AnnotationParser.MethodInfo, AnnotationParser.MyClassVisitor, AnnotationParser.MyFieldVisitor, AnnotationParser.MyMethodVisitor_parsedClassNames| Constructor and Description |
|---|
AnnotationParser(int javaPlatform) |
| Modifier and Type | Method and Description |
|---|---|
protected org.osgi.framework.Bundle |
getBundle(Resource resource) |
protected Resource |
getResource(org.osgi.framework.Bundle bundle) |
protected java.net.URI |
getURI(org.osgi.framework.Bundle bundle) |
protected Resource |
indexBundle(org.osgi.framework.Bundle bundle)
Keep track of a jetty URI Resource and its associated OSGi bundle.
|
protected void |
parse(java.util.Set<? extends AnnotationParser.Handler> handlers,
org.osgi.framework.Bundle bundle) |
void |
parse(java.util.Set<? extends AnnotationParser.Handler> handlers,
java.net.URI[] uris)
Parse classes in the supplied uris.
|
addParsedClass, asmVersion, getParsedLocations, normalize, normalize, parse, parse, parse, parse, parse, parse, parse, parseDir, parseJar, parseJarEntry, resetParsedClasses, scanClassprotected Resource indexBundle(org.osgi.framework.Bundle bundle) throws java.lang.Exception
bundle - the bundle to indexjava.lang.Exception - if unable to create the resource referenceprotected java.net.URI getURI(org.osgi.framework.Bundle bundle)
protected Resource getResource(org.osgi.framework.Bundle bundle)
protected org.osgi.framework.Bundle getBundle(Resource resource)
public void parse(java.util.Set<? extends AnnotationParser.Handler> handlers, java.net.URI[] uris) throws java.lang.Exception
AnnotationParserparse in class AnnotationParserhandlers - the handlers to look for classes inuris - the uris for the jarsjava.lang.Exception - if unable to parseprotected void parse(java.util.Set<? extends AnnotationParser.Handler> handlers, org.osgi.framework.Bundle bundle) throws java.lang.Exception
java.lang.ExceptionCopyright © 1995–2022 Webtide. All rights reserved.