com.sun.grizzly.http.servlet.deployer.annotation
Class AnnotationParser

java.lang.Object
  extended by com.sun.grizzly.http.servlet.deployer.annotation.AnnotationParser

public class AnnotationParser
extends Object


Constructor Summary
AnnotationParser()
           
 
Method Summary
 boolean isValid(Class<?> clazz)
           
 List<String> listFilesAndFolders(String folder, int tabCounter)
           
protected  void parseAnnotation(Class<?> clazz, WebApp webapp)
           
 WebApp parseAnnotation(URLClassLoader classLoader)
           
protected  void parseDeclareRoles(WebApp webapp, Class<?> clazz)
           
protected  void parseEJB(WebApp webapp, Class<?> clazz)
           
protected  void parseEJBs(WebApp webapp, Class<?> clazz)
           
protected  void parsePersistenceContext(WebApp webapp, Class<?> clazz)
           
protected  void parsePersistenceUnit(WebApp webapp, Class<?> clazz)
           
protected  void parsePersistenceUnits(WebApp webapp, Class<?> clazz)
           
protected  void parsePostConstruct(WebApp webapp, Class<?> clazz)
           
protected  void parsePreDestroy(WebApp webapp, Class<?> clazz)
           
protected  void parseResource(WebApp webapp, Class<?> clazz)
           
protected  void parseResources(WebApp webapp, Class<?> clazz)
           
protected  void parseRunAs(WebApp webapp, Class<?> clazz)
           
protected  void parseWebServiceRef(WebApp webapp, Class<?> clazz)
           
protected  void parseWebServiceRefs(WebApp webapp, Class<?> clazz)
           
 
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

parseDeclareRoles

protected void parseDeclareRoles(WebApp webapp,
                                 Class<?> clazz)
                          throws Exception
Throws:
Exception

parseEJB

protected void parseEJB(WebApp webapp,
                        Class<?> clazz)
                 throws Exception
Throws:
Exception

parseEJBs

protected void parseEJBs(WebApp webapp,
                         Class<?> clazz)
                  throws Exception
Throws:
Exception

parseResource

protected void parseResource(WebApp webapp,
                             Class<?> clazz)
                      throws Exception
Throws:
Exception

parsePersistenceContext

protected void parsePersistenceContext(WebApp webapp,
                                       Class<?> clazz)
                                throws Exception
Throws:
Exception

parsePersistenceUnit

protected void parsePersistenceUnit(WebApp webapp,
                                    Class<?> clazz)
                             throws Exception
Throws:
Exception

parsePersistenceUnits

protected void parsePersistenceUnits(WebApp webapp,
                                     Class<?> clazz)
                              throws Exception
Throws:
Exception

parsePostConstruct

protected void parsePostConstruct(WebApp webapp,
                                  Class<?> clazz)
                           throws Exception
Throws:
Exception

parsePreDestroy

protected void parsePreDestroy(WebApp webapp,
                               Class<?> clazz)
                        throws Exception
Throws:
Exception

parseResources

protected void parseResources(WebApp webapp,
                              Class<?> clazz)
                       throws Exception
Throws:
Exception

parseRunAs

protected void parseRunAs(WebApp webapp,
                          Class<?> clazz)
                   throws Exception
Throws:
Exception

parseWebServiceRef

protected void parseWebServiceRef(WebApp webapp,
                                  Class<?> clazz)
                           throws Exception
Throws:
Exception

parseWebServiceRefs

protected void parseWebServiceRefs(WebApp webapp,
                                   Class<?> clazz)
                            throws Exception
Throws:
Exception

isValid

public boolean isValid(Class<?> clazz)
                throws InstantiationException,
                       IllegalAccessException
Throws:
InstantiationException
IllegalAccessException

parseAnnotation

protected void parseAnnotation(Class<?> clazz,
                               WebApp webapp)
                        throws Exception
Throws:
Exception

listFilesAndFolders

public List<String> listFilesAndFolders(String folder,
                                        int tabCounter)

parseAnnotation

public WebApp parseAnnotation(URLClassLoader classLoader)
                       throws Exception
Throws:
Exception


Copyright © 2012 Oracle Corporation. All Rights Reserved.