View Javadoc
1   package org.apache.fulcrum.yaafi.framework.constant;
2   
3   /*
4    * Licensed to the Apache Software Foundation (ASF) under one
5    * or more contributor license agreements.  See the NOTICE file
6    * distributed with this work for additional information
7    * regarding copyright ownership.  The ASF licenses this file
8    * to you under the Apache License, Version 2.0 (the
9    * "License"); you may not use this file except in compliance
10   * with the License.  You may obtain a copy of the License at
11   *
12   *   http://www.apache.org/licenses/LICENSE-2.0
13   *
14   * Unless required by applicable law or agreed to in writing,
15   * software distributed under the License is distributed on an
16   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17   * KIND, either express or implied.  See the License for the
18   * specific language governing permissions and limitations
19   * under the License.
20   */
21  
22  /**
23   * Commonly used constants for YAAFI. Basically we are mimicking a
24   * Merlin container fow whatever it is worth.
25   *
26   * @author <a href="mailto:siegfried.goeschl@it20one.at">Siegfried Goeschl</a>
27   */
28  
29  public interface AvalonYaafiConstants
30  {
31      /** The YAAFI Container */
32      String AVALON_CONTAINER_YAAFI = "yaafi";
33  
34      /////////////////////////////////////////////////////////////////////////
35      // Merlin keys for Context
36      /////////////////////////////////////////////////////////////////////////
37  
38      /** define the Merlin application root (File) */
39      String URN_AVALON_HOME = "urn:avalon:home";
40  
41      /** define the Merlin temporary directory (File) */
42      String URN_AVALON_TEMP = "urn:avalon:temp";
43  
44      /** define the Merlin component name (String) */
45      String URN_AVALON_NAME = "urn:avalon:name";
46  
47      /** define the Merlin partition name (String) */
48      String URN_AVALON_PARTITION = "urn:avalon:partition";
49  
50      /** define the Merlin component classloader (ClassLoader) */
51      String URN_AVALON_CLASSLOADER = "urn:avalon:classloader";
52  
53      /////////////////////////////////////////////////////////////////////////
54      // ECM keys for Context
55      /////////////////////////////////////////////////////////////////////////
56  
57      /** this is only supplied for backward compatibilty with ECM */
58      String COMPONENT_APP_ROOT  = "componentAppRoot";
59  
60  }