donaldp 2003/02/28 15:58:49 Modified: src/java/org/apache/avalon/phoenix/components ContainerConstants.java Log: Add CLASSLOADER key and document other keys Revision Changes Path 1.3 +39 -1 avalon-phoenix/src/java/org/apache/avalon/phoenix/components/ContainerConstants.java Index: ContainerConstants.java =================================================================== RCS file: /home/cvs/avalon-phoenix/src/java/org/apache/avalon/phoenix/components/ContainerConstants.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- ContainerConstants.java 25 Jan 2003 15:47:16 -0000 1.2 +++ ContainerConstants.java 28 Feb 2003 23:58:49 -0000 1.3 @@ -9,20 +9,58 @@ /** * A set of constants that are used internally in the container to communicate - * about different artefacts. + * about different artefacts. They usually act as keys into maps. * * @author <a href="mailto:peter at apache.org">Peter Donald</a> */ public interface ContainerConstants { + /** + * The name of the software. (Usually phoenix but different + * users may overide this). + */ String SOFTWARE = "@@NAME@@"; + + /** + * The version of the software. + */ String VERSION = "@@VERSION@@"; + + /** + * The date on which software was built. + */ String DATE = "@@DATE@@"; + /** + * The name of the attribute used to determine whether + * a block is not proxied. + */ String DISABLE_PROXY_ATTR = "phoenix:disable-proxy"; + + /** + * The name which the assembly is registered into phoenix + * using. + */ String ASSEMBLY_NAME = "phoenix:assembly-name"; + + /** + * The name of the config file which is used + * to load assembly data. + */ String ASSEMBLY_CONFIG = "phoenix:config"; + /** + * The default classloader to use to load components. + */ + String ASSEMBLY_CLASSLOADER = "phoenix:classloader"; + + /** + * The name of the partition in which blocks are contained. + */ String BLOCK_PARTITION = "block"; + + /** + * The name of the partition in which listeners are contained. + */ String LISTENER_PARTITION = "listener"; }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]