org.eclipse.jetty.osgi.annotations
Class AnnotationParser

java.lang.Object
  extended by org.eclipse.jetty.annotations.AnnotationParser
      extended by org.eclipse.jetty.osgi.annotations.AnnotationParser

public class AnnotationParser
extends AnnotationParser


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.jetty.annotations.AnnotationParser
AnnotationParser.ClassHandler, AnnotationParser.DiscoverableAnnotationHandler, AnnotationParser.FieldHandler, AnnotationParser.ListValue, AnnotationParser.MethodHandler, AnnotationParser.MyAnnotationVisitor, AnnotationParser.MyClassVisitor, AnnotationParser.SimpleValue, AnnotationParser.Value
 
Field Summary
 
Fields inherited from class org.eclipse.jetty.annotations.AnnotationParser
_annotationHandlers, _classHandlers, _fieldHandlers, _methodHandlers, _parsedClassNames
 
Constructor Summary
AnnotationParser()
           
 
Method Summary
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)
          Find annotations in classes in the supplied url of jar files.
 
Methods inherited from class org.eclipse.jetty.annotations.AnnotationParser
getAnnotationHandlers, getAnnotationHandlers, isParsed, normalize, parse, parse, parse, parse, parse, parse, parse, registerAnnotationHandler, registerClassHandler, scanClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationParser

public AnnotationParser()
Method Detail

indexBundle

protected Resource indexBundle(org.osgi.framework.Bundle bundle)
                        throws Exception
Keep track of a jetty URI Resource and its associated OSGi bundle.

Parameters:
uri -
bundle -
Throws:
Exception

getURI

protected URI getURI(org.osgi.framework.Bundle bundle)

getResource

protected Resource getResource(org.osgi.framework.Bundle bundle)

parse

public void parse(URI[] uris,
                  ClassNameResolver resolver)
           throws Exception
Description copied from class: AnnotationParser
Find annotations in classes in the supplied url of jar files.

Overrides:
parse in class AnnotationParser
Throws:
Exception

parse

protected void parse(org.osgi.framework.Bundle bundle,
                     ClassNameResolver resolver)
              throws Exception
Throws:
Exception


Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.