public class AnnotationParser extends AnnotationParser
AnnotationParser.ClassHandler, AnnotationParser.DiscoverableAnnotationHandler, AnnotationParser.FieldHandler, AnnotationParser.Handler, AnnotationParser.ListValue, AnnotationParser.MethodHandler, AnnotationParser.MyAnnotationVisitor, AnnotationParser.MyClassVisitor, AnnotationParser.SimpleValue, AnnotationParser.Value
_handlers, _parsedClassNames
Constructor and Description |
---|
AnnotationParser() |
Modifier and Type | Method and Description |
---|---|
protected Resource |
getResource(org.osgi.framework.Bundle bundle) |
protected 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(org.osgi.framework.Bundle bundle,
ClassNameResolver resolver) |
void |
parse(URI[] uris,
ClassNameResolver resolver)
Parse classes in the supplied url of jar files.
|
clearHandlers, deregisterHandler, getAnnotationHandlers, getAnnotationHandlers, isParsed, normalize, parse, parse, parse, parse, parse, parse, parse, registerAnnotationHandler, registerClassHandler, registerHandler, registerHandlers, scanClass
protected Resource indexBundle(org.osgi.framework.Bundle bundle) throws Exception
uri
- bundle
- Exception
protected URI getURI(org.osgi.framework.Bundle bundle)
protected Resource getResource(org.osgi.framework.Bundle bundle)
public void parse(URI[] uris, ClassNameResolver resolver) throws Exception
AnnotationParser
parse
in class AnnotationParser
Exception
protected void parse(org.osgi.framework.Bundle bundle, ClassNameResolver resolver) throws Exception
Exception
Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.