View Javadoc

1   /*****************************************************************
2    * Licensed to the Apache Software Foundation (ASF) under one   *
3    * or more contributor license agreements.  See the NOTICE file *
4    * distributed with this work for additional information        *
5    * regarding copyright ownership.  The ASF licenses this file   *
6    * to you under the Apache License, Version 2.0 (the            *
7    * "License"); you may not use this file except in compliance   *
8    * with the License.  You may obtain a copy of the License at   *
9    *                                                              *
10   *   http://www.apache.org/licenses/LICENSE-2.0                 *
11   *                                                              *
12   * Unless required by applicable law or agreed to in writing,   *
13   * software distributed under the License is distributed on an  *
14   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
15   * KIND, either express or implied.  See the License for the    *
16   * specific language governing permissions and limitations      *
17   * under the License.                                           *
18   ****************************************************************/
19  
20  package org.apache.james;
21  
22  /***
23   * Assorted Constants for use in all James blocks
24   * The Software Version, Software Name and Build Date are set by ant during
25   * the build process.
26   *
27   *
28   * @version This is $Revision: 494012 $
29   */
30  public class Constants {
31  
32      /***
33       * The version of James.
34       */
35      public static final String SOFTWARE_VERSION = "@@VERSION@@";
36  
37      /***
38       * The name of the software (i.e. James).
39       */
40      public static final String SOFTWARE_NAME = "@@NAME@@";
41  
42      /***
43       * Context key used to store the default domain name
44       * serviced by this James instance in the context.
45       */
46      public static final String DEFAULT_DOMAIN = "DEFAULT_DOMAIN";
47  
48      /***
49       * Context key used to store the Mailet/SMTP "hello name" for this
50       * James instance in the context.
51       */
52      public static final String HELLO_NAME = "HELLO_NAME";
53  
54      /***
55       * Context key used to store the postmaster address for
56       * this James instance in the context.
57       */
58      public static final String POSTMASTER = "POSTMASTER";
59  
60      /***
61       * Key used to store the component manager for
62       * this James instance in a way accessible by
63       * Avalon aware Mailets.
64       */
65      public static final String AVALON_COMPONENT_MANAGER = "AVALON_COMP_MGR";
66  
67      /***
68       * Context key used to store the enableAliases configuration for the default
69       * LocalUsers Repository.
70       */
71      public static final String DEFAULT_ENABLE_ALIASES = "JAMES_DEFAULT_ENABLE_ALIASES";
72  
73      /***
74       * Context key used to store the enableForwarding configuration for the default
75       * LocalUsers Repository.
76       */
77      public static final String DEFAULT_ENABLE_FORWARDING = "JAMES_DEFAULT_ENABLE_FORWARDING";
78  
79      /***
80       * Context key used to store the ignoreCase configuration for the 
81       * UserRepository
82       */
83      public static final String DEFAULT_IGNORE_USERNAME_CASE = "JAMES_DEFAULT_IGNORE_USERNAME_CASE";
84  
85  }