001 /**
002 * Licensed to the Apache Software Foundation (ASF) under one or more
003 * contributor license agreements. See the NOTICE file distributed with
004 * this work for additional information regarding copyright ownership.
005 * The ASF licenses this file to You under the Apache License, Version 2.0
006 * (the "License"); you may not use this file except in compliance with
007 * the License. You may obtain a copy of the License at
008 *
009 * http://www.apache.org/licenses/LICENSE-2.0
010 *
011 * Unless required by applicable law or agreed to in writing, software
012 * distributed under the License is distributed on an "AS IS" BASIS,
013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014 * See the License for the specific language governing permissions and
015 * limitations under the License.
016 */
017 package org.apache.geronimo.mail;
018
019 /**
020 * Common constants used by the two NNTP GBean classes.
021 * <p/>
022 *
023 * @version $Rev: 706640 $ $Date: 2008-10-21 14:44:05 +0000 (Tue, 21 Oct 2008) $
024 */
025 public interface NNTPGBeanConstants {
026
027 // the NNTP configuration property names
028 static public final String NNTP_PORT = "mail.nntp.port";
029 static public final String NNTP_CONNECTION_TIMEOUT = "mail.nntp.connectiontimeout";
030 static public final String NNTP_TIMEOUT = "mail.nntp.timeout";
031 static public final String NNTP_FROM = "mail.nntp.from";
032 static public final String NNTP_AUTH = "mail.nntp.auth";
033 static public final String NNTP_REALM = "mail.nntp.sasl.realm";
034 static public final String NNTP_QUITWAIT = "mail.nntp.quitwait";
035 static public final String NNTP_FACTORY_CLASS = "mail.nntp.socketFactory.class";
036 static public final String NNTP_FACTORY_FALLBACK = "mail.nntp.socketFactory.fallback";
037 static public final String NNTP_FACTORY_PORT = "mail.nntp.socketFactory.port";
038
039 static public final String NNTPS_PORT = "mail.nntp.port";
040 static public final String NNTPS_CONNECTION_TIMEOUT = "mail.nntp.connectiontimeout";
041 static public final String NNTPS_TIMEOUT = "mail.nntp.timeout";
042 static public final String NNTPS_FROM = "mail.nntp.from";
043 static public final String NNTPS_AUTH = "mail.nntp.auth";
044 static public final String NNTPS_REALM = "mail.nntp.sasl.realm";
045 static public final String NNTPS_QUITWAIT = "mail.nntp.quitwait";
046 static public final String NNTPS_FACTORY_CLASS = "mail.nntp.socketFactory.class";
047 static public final String NNTPS_FACTORY_FALLBACK = "mail.nntp.socketFactory.fallback";
048 static public final String NNTPS_FACTORY_PORT = "mail.nntp.socketFactory.port";
049 }
050