KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > oddjob > arooa > ArooaConstants


1 /*
2  * (c) Rob Gordon 2005.
3  */

4 package org.oddjob.arooa;
5
6 /**
7  * Constant values used in the Arooa Framework.
8  */

9 public class ArooaConstants {
10
11     /** The attribute from which we get a components id. */
12     public static final String JavaDoc ID_PROPERTY = "id";
13     
14     /** The key for storing the ObjectFactory which is the
15      * component factory within the ArooaContext.
16      */

17     public static final String JavaDoc COMPONENT_FACTORY = "componentfactory";
18
19     /** The key for storing the ObjectFactory which is the
20      * value factory within the ArooaContext.
21      */

22     public static final String JavaDoc VALUE_FACTORY = "valuefactory";
23     
24     /** The key for storing the property proxy resolver within the
25      * Arooa Context.
26      */

27     public static final String JavaDoc PROPERTY_PROXY_RESOLVER = "valueresolver";
28     
29     /** The ArooaHandler to use for handling component elements. */
30     public static final String JavaDoc COMPONENT_HANDLER = "componenthandler";
31     
32     public static final String JavaDoc COMPONENT_PROXY_RESOLVER = "componentproxyresolver";
33     
34     /** The ArooaHandler to use for handling nested elements. */
35     public static final String JavaDoc ELEMENT_HANDLER = "elementhandler";
36     
37     /** The ArooaHandler to use for handling nested properties
38      * (get/set properties which could be attributes but are declared
39      * inline as xml elements). */

40     public static final String JavaDoc PROPERTY_HANDLER = "propertyhandler";
41     
42     /** The ArooaHandler to use for handling mapped properies of
43      * the type setXyz(String name, Object value).
44      */

45     public static final String JavaDoc MAPPED_HANDLER = "mappedhandler";
46     
47     /** The object or runtime proxy that is currently being configured. */
48     public static final String JavaDoc CURRENTLY_CONFIGURING = "configuring";
49     
50     /** The ComponentRegistry where components are registered by id. */
51     public static final String JavaDoc COMPONENT_REGISTRY = "componentregistry";
52     
53     /** The substitution policy for id. */
54     public static final String JavaDoc SUBSTITUTION_POLICY = "substitutionpolicy";
55     
56     /** The BeanUtils BeanUtilsBean to use. */
57     public static final String JavaDoc BEAN_UTILS_BEAN = "beanutilsbean";
58     
59     /** The element name when an element passed down through the
60      * handlers when a level is skipped. */

61     public static final String JavaDoc ELEMENT_NAME = "skippedlevel";
62     
63     /** The constant for a strict constant. */
64     public static final String JavaDoc SUBPOLICY_STRICT = "STRICT";
65     
66     /** The key for a Boolean value which the runtime configuration
67      * will use to leave ValueTypes unresolved during configuration. */

68     public static final String JavaDoc RTC_LEAVE_PROXY = "rtcleaveproxy";
69 }
Popular Tags