Class AnnotationParser
java.lang.Object
org.eclipse.jetty.ee10.annotations.AnnotationParser
org.eclipse.jetty.ee10.osgi.annotations.AnnotationParser
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.ee10.annotations.AnnotationParser
AnnotationParser.AbstractHandler, AnnotationParser.ClassInfo, AnnotationParser.FieldInfo, AnnotationParser.Handler, AnnotationParser.MethodInfo, AnnotationParser.MyClassVisitor, AnnotationParser.MyFieldVisitor, AnnotationParser.MyMethodVisitor
-
Field Summary
Fields inherited from class org.eclipse.jetty.ee10.annotations.AnnotationParser
_parsedClassNames
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.osgi.framework.Bundle
protected Resource
getResource
(org.osgi.framework.Bundle bundle) protected URI
getURI
(org.osgi.framework.Bundle bundle) indexBundle
(ResourceFactory resourceFactory, org.osgi.framework.Bundle bundle) Keep track of a jetty URI Resource and its associated OSGi bundle.void
parse
(Set<? extends AnnotationParser.Handler> handlers, Resource r) Parse a resourcevoid
parse
(Set<? extends AnnotationParser.Handler> handlers, org.osgi.framework.Bundle bundle) Methods inherited from class org.eclipse.jetty.ee10.annotations.AnnotationParser
normalize, normalize, parseClass, parseDir, parseJar
-
Constructor Details
-
AnnotationParser
public AnnotationParser() -
AnnotationParser
public AnnotationParser(int platform)
-
-
Method Details
-
indexBundle
public Resource indexBundle(ResourceFactory resourceFactory, org.osgi.framework.Bundle bundle) throws Exception Keep track of a jetty URI Resource and its associated OSGi bundle.- Parameters:
resourceFactory
- the ResourceFactory to convert bundle locationbundle
- the bundle to index- Returns:
- the resource for the bundle
- Throws:
Exception
- if unable to create the resource reference
-
getURI
-
getResource
-
getBundle
-
parse
public void parse(Set<? extends AnnotationParser.Handler> handlers, org.osgi.framework.Bundle bundle) throws Exception - Throws:
Exception
-
parse
Description copied from class:AnnotationParser
Parse a resource- Overrides:
parse
in classAnnotationParser
- Parameters:
handlers
- the handlers to look for classes inr
- the resource to parse- Throws:
Exception
- if unable to parse
-