| Modifier and Type | Field and Description |
|---|---|
| private static Class | |
| pack-priv LifeCycleCallbackCollection | |
| pack-priv List | |
| pack-priv List | |
| pack-priv AnnotationFinder | |
| pack-priv InjectionCollection | |
| pack-priv List | |
| pack-priv ClassLoader | |
| pack-priv Map | |
| pack-priv RunAsCollection | |
| pack-priv List | |
| pack-priv List | |
| pack-priv WebAppContext |
| Access | Constructor and Description |
|---|---|
| public | AnnotationProcessor(WebAppContext webApp, AnnotationFinder finder, RunAsCollection runAs, InjectionCollection injections, LifeCycleCallbackCollection callbacks, List<E> servlets, List<E> filters, List<E> listeners, List<E> servletMappings, List<E> filterMappings)
|
| Modifier and Type | Method and Description |
|---|---|
| public List | |
| public List | |
| public List | |
| private Object | getPojoInstanceFor(Class<T> clazz)
Get an already-created instance of a pojo, or create one otherwise. |
| public List | |
| public List | |
| private static boolean | |
| private boolean | isServletType(Class<T> c)
Check if the presented method belongs to a class that is one of the classes with which a servlet container should be concerned. |
| protected static String | |
| public void | |
| public void | processClassResourceAnnotations()
Class level Resource annotations declare a name in the environment that will be looked up at runtime. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| private void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| __envEntryTypes | back to summary |
|---|---|
| private static Class<T>[] __envEntryTypes | |
| _callbacks | back to summary |
|---|---|
| pack-priv LifeCycleCallbackCollection _callbacks | |
| _filterMappings | back to summary |
|---|---|
| pack-priv List<E> _filterMappings | |
| _filters | back to summary |
|---|---|
| pack-priv List<E> _filters | |
| _finder | back to summary |
|---|---|
| pack-priv AnnotationFinder _finder | |
| _injections | back to summary |
|---|---|
| pack-priv InjectionCollection _injections | |
| _listeners | back to summary |
|---|---|
| pack-priv List<E> _listeners | |
| _loader | back to summary |
|---|---|
| pack-priv ClassLoader _loader | |
| _pojoInstances | back to summary |
|---|---|
| pack-priv Map<K, V> _pojoInstances | |
| _runAs | back to summary |
|---|---|
| pack-priv RunAsCollection _runAs | |
| _servletMappings | back to summary |
|---|---|
| pack-priv List<E> _servletMappings | |
| _servlets | back to summary |
|---|---|
| pack-priv List<E> _servlets | |
| _webApp | back to summary |
|---|---|
| pack-priv WebAppContext _webApp | |
| AnnotationProcessor | back to summary |
|---|---|
| public AnnotationProcessor(WebAppContext webApp, AnnotationFinder finder, RunAsCollection runAs, InjectionCollection injections, LifeCycleCallbackCollection callbacks, List<E> servlets, List<E> filters, List<E> listeners, List<E> servletMappings, List<E> filterMappings) | |
| getFilterMappings | back to summary |
|---|---|
| public List | |
| getFilters | back to summary |
|---|---|
| public List | |
| getListeners | back to summary |
|---|---|
| public List | |
| getPojoInstanceFor | back to summary |
|---|---|
| private Object getPojoInstanceFor(Class<T> clazz) throws InstantiationException, IllegalAccessException Get an already-created instance of a pojo, or create one otherwise. | |
| getServletMappings | back to summary |
|---|---|
| public List | |
| getServlets | back to summary |
|---|---|
| public List | |
| isEnvEntryType | back to summary |
|---|---|
| private static boolean isEnvEntryType(Class<T> type) | |
| isServletType | back to summary |
|---|---|
| private boolean isServletType(Class<T> c) Check if the presented method belongs to a class that is one of the classes with which a servlet container should be concerned. | |
| normalizePattern | back to summary |
|---|---|
| protected static String normalizePattern(String p) | |
| process | back to summary |
|---|---|
| public void process() throws Exception | |
| processClassResourceAnnotations | back to summary |
|---|---|
| public void processClassResourceAnnotations() throws Exception Class level Resource annotations declare a name in the environment that will be looked up at runtime. They do not specify an injection. | |
| processFieldResourceAnnotations | back to summary |
|---|---|
| public void processFieldResourceAnnotations() throws Exception Process @Resource annotation for a Field. These will both set up a JNDI entry and generate an Injection. Or they can be the equivalent of env-entries with default values | |
| processFilters | back to summary |
|---|---|
| public void processFilters() throws Exception | |
| processLifeCycleCallbackAnnotations | back to summary |
|---|---|
| public void processLifeCycleCallbackAnnotations() throws Exception | |
| processListeners | back to summary |
|---|---|
| public void processListeners() throws Exception | |
| processMethodResourceAnnotations | back to summary |
|---|---|
| public void processMethodResourceAnnotations() throws Exception Process a Resource annotation on the Methods. This will generate a JNDI entry, and an Injection to be processed when an instance of the class is created. | |
| processPostConstructAnnotations | back to summary |
|---|---|
| private void processPostConstructAnnotations() throws Exception | |
| processPreDestroyAnnotations | back to summary |
|---|---|
| public void processPreDestroyAnnotations() throws Exception | |
| processResourceAnnotations | back to summary |
|---|---|
| public void processResourceAnnotations() throws Exception | |
| processResourcesAnnotations | back to summary |
|---|---|
| public void processResourcesAnnotations() throws Exception Process @Resources annotation on classes | |
| processRunAsAnnotations | back to summary |
|---|---|
| public void processRunAsAnnotations() throws Exception | |
| processServlets | back to summary |
|---|---|
| public void processServlets() throws Exception | |