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: *
015: * See the License for the specific language governing permissions and
016: * limitations under the License.
017: */
018:
019: /**
020: * @author Mikhail A. Markov, Vasily Zakharov
021: * @version $Revision: 1.1.2.7 $
022: */package org.apache.harmony.rmi.common;
023:
024: /**
025: * Interface containing names of all supported RMI properties.
026: *
027: * @author Mikhail A. Markov, Vasily Zakharov
028: * @version $Revision: 1.1.2.7 $
029: */
030: public interface RMIProperties {
031:
032: /*
033: * -------------------------------------------------------------------------
034: * java.rmi.* supported properties
035: * -------------------------------------------------------------------------
036: */
037: String ACTIVATIONPORT_PROP = "java.rmi.activation.port"; //$NON-NLS-1$
038: String DGCLEASEVALUE_PROP = "java.rmi.dgc.leaseValue"; //$NON-NLS-1$
039: String CODEBASE_PROP = "java.rmi.server.codebase"; //$NON-NLS-1$
040: String HOSTNAME_PROP = "java.rmi.server.hostname"; //$NON-NLS-1$
041: String LOGSERVER_PROP = "java.rmi.server.logCalls"; //$NON-NLS-1$
042: String RANDOMIDS_PROP = "java.rmi.server.randomIDs"; //$NON-NLS-1$
043: String USECODEBASEONLY_PROP = "java.rmi.server.usecodebaseOnly"; //$NON-NLS-1$
044: String USELOCALHOSTNAME_PROP = "java.rmi.server.useLocalHostname"; //$NON-NLS-1$
045: String DISABLEHTTP_PROP = "java.rmi.server.disableHttp"; //$NON-NLS-1$
046: String IGNORESTUBCLASSES_PROP = "java.rmi.server.ignoreStubClasses"; //$NON-NLS-1$
047:
048: /*
049: * -------------------------------------------------------------------------
050: * harmony.rmi.* supported properties
051: * -------------------------------------------------------------------------
052: */
053:
054: // Server properties.
055: String DGCACKTIMEOUT_PROP = "harmony.rmi.dgc.ackTimeout"; //$NON-NLS-1$
056: String DGCCHECKINTERVAL_PROP = "harmony.rmi.dgc.checkInterval"; //$NON-NLS-1$
057: String DGCLOGLEVEL_PROP = "harmony.rmi.dgc.logLevel"; //$NON-NLS-1$
058: String LOADERLOGLEVEL_PROP = "harmony.rmi.loader.logLevel"; //$NON-NLS-1$
059: String EXCEPTIONTRACE_PROP = "harmony.rmi.server.exceptionTrace"; //$NON-NLS-1$
060: String SUPPRESSSTACKTRACES_PROP = "harmony.rmi.server.suppressStackTraces"; //$NON-NLS-1$
061: String TRANSPORTLOGLEVEL_PROP = "harmony.rmi.transport.logLevel"; //$NON-NLS-1$
062: String LOCALHOSTNAMETIMEOUT_PROP = "harmony.rmi.transport.tcp.localHostNameTimeOut"; //$NON-NLS-1$
063: String TRANSPORTTCPLOGLEVEL_PROP = "harmony.rmi.transport.tcp.logLevel"; //$NON-NLS-1$
064: String READTIMEOUT_PROP = "harmony.rmi.transport.tcp.readTimeout"; //$NON-NLS-1$
065:
066: // Client properties.
067: String LOGCLIENT_PROP = "harmony.rmi.client.logCalls"; //$NON-NLS-1$
068: String DGCCLEANINTERVAL_PROP = "harmony.rmi.dgc.cleanInterval"; //$NON-NLS-1$
069: String SERVERLOGLEVEL_PROP = "harmony.rmi.server.logLevel"; //$NON-NLS-1$
070: String CLIENTLOGLEVEL_PROP = "harmony.rmi.client.logLevel"; //$NON-NLS-1$
071: String CONNECTIONTIMEOUT_PROP = "harmony.rmi.transport.connectionTimeout"; //$NON-NLS-1$
072: String CONNECTTIMEOUT_PROP = "harmony.rmi.transport.proxy.connectTimeout"; //$NON-NLS-1$
073: String EAGERHTTPFALLBACK_PROP = "harmony.rmi.transport.proxy.eagerHttpFallback"; //$NON-NLS-1$
074: String TRANSPORTPROXYLOGLEVEL_PROP = "harmony.rmi.transport.proxy.logLevel"; //$NON-NLS-1$
075: String HANDSHAKETIMEOUT_PROP = "harmony.rmi.transport.tcp.handshakeTimeout"; //$NON-NLS-1$
076:
077: // Activation properties.
078: String ACTIVATIONLOGLEVEL_PROP = "harmony.rmi.activation.logLevel"; //$NON-NLS-1$
079: String ACTIVATION_EXECTIMEOUT_PROP = "harmony.rmi.activation.execTimeout"; //$NON-NLS-1$
080: String MAXSTARTGROUP_PROP = "harmony.rmi.activation.groupThrottle"; //$NON-NLS-1$
081: String ACTIVATION_SNAPSHOTINTERVAL_PROP = "harmony.rmi.activation.snapshotInterval"; //$NON-NLS-1$
082: String ACTIVATION_LOG_DEBUG_PROP = "harmony.rmi.log.debug"; //$NON-NLS-1$
083: String ACTIVATION_DEBUGEXEC_PROP = "harmony.rmi.server.activation.debugExec"; //$NON-NLS-1$
084:
085: /*
086: * -------------------------------------------------------------------------
087: * Additional proxy properties
088: * -------------------------------------------------------------------------
089: */
090:
091: /**
092: * Name of the system property containing HTTP proxy host name.
093: */
094: String PROXY_HOST_PROP = "http.proxyHost"; //$NON-NLS-1$
095:
096: /**
097: * Name of the system property containing HTTP proxy port number.
098: */
099: String PROXY_PORT_PROP = "http.proxyPort"; //$NON-NLS-1$
100:
101: /**
102: * Name of the property allowing to disable direct socket connections.
103: */
104: String DISABLE_DIRECT_SOCKET_PROP = "org.apache.harmony.rmi.transport.disableDirectSocket"; //$NON-NLS-1$
105:
106: /**
107: * Name of the property allowing to enable direct HTTP connections.
108: */
109: String ENABLE_DIRECT_HTTP_PROP = "org.apache.harmony.rmi.transport.proxy.enableDirectHTTP"; //$NON-NLS-1$
110:
111: /**
112: * Name of the property allowing to disable plain HTTP connections
113: * (and force CGI instead).
114: */
115: String DISABLE_PLAIN_HTTP_PROP = "org.apache.harmony.rmi.transport.proxy.disablePlainHTTP"; //$NON-NLS-1$
116:
117: /*
118: * -------------------------------------------------------------------------
119: * Additional Activation properties
120: * -------------------------------------------------------------------------
121: */
122:
123: /**
124: * @see org.apache.harmony.rmi.common.RMIConstants#DEFAULT_ACTIVATION_MONITOR_CLASS_NAME
125: */
126: String ACTIVATION_MONITOR_CLASS_NAME_PROP = "org.apache.harmony.rmi.activation.monitor"; //$NON-NLS-1$
127:
128: /*
129: * -------------------------------------------------------------------------
130: * RMI Compiler properties
131: * -------------------------------------------------------------------------
132: */
133:
134: /**
135: * Property specifying the compiler class to use.
136: */
137: String JAVA_COMPILER_CLASS_PROPERTY = "org.apache.harmony.rmi.compiler.class"; //$NON-NLS-1$
138:
139: /**
140: * Property specifying the compiler class method to use.
141: */
142: String JAVA_COMPILER_METHOD_PROPERTY = "org.apache.harmony.rmi.compiler.method"; //$NON-NLS-1$
143:
144: /**
145: * Property specifying the compiler executable to use.
146: */
147: String JAVA_COMPILER_EXECUTABLE_PROPERTY = "org.apache.harmony.rmi.compiler.executable"; //$NON-NLS-1$
148: }
|