2
* JBoss, Home of Professional Open Source
3
* Copyright 2006, JBoss Inc., and individual contributors as indicated
4
* by the @authors tag. See the copyright.txt in the distribution for a
5
* full listing of individual contributors.
7
* This is free software; you can redistribute it and/or modify it
8
* under the terms of the GNU Lesser General Public License as
9
* published by the Free Software Foundation; either version 2.1 of
10
* the License, or (at your option) any later version.
12
* This software is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
* Lesser General Public License for more details.
17
* You should have received a copy of the GNU Lesser General Public
18
* License along with this software; if not, write to the Free
19
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
23
package org.jboss.remoting;
32
* Key for the configuration map passed to a Connector to indicate the server
33
* socket factory to be used. This will override the creation of any other socket factory.
35
public static final String CUSTOM_SERVER_SOCKET_FACTORY = "customServerSocketFactory";
39
* Key for the configuration map passed to a Client to indicate the socket factory to
40
* be used. This will override the creation of any other socket factory.
42
public static final String CUSTOM_SOCKET_FACTORY = "customSocketFactory";
45
* Key for the configuration map passed to a Client to indicate the classname of
46
* the socket factory to be used.
48
public static final String SOCKET_FACTORY_NAME = "socketFactory";
51
* Key for the configuration map passed to a Client to indicate the classname of
52
* the socket factory to be used. This one is distinct from the bean property "socketFactory".
54
public static final String SOCKET_FACTORY_CLASS_NAME = "socketFactoryClassName";
57
* Key for the configuration map passed to a Client or Connector to indicate
58
* a socket creation listener for sockets created by a SocketFactory.
60
public static final String SOCKET_CREATION_CLIENT_LISTENER = "socketCreationClientListener";
63
* Key for the configuration map passed to a Client or Connector to indicate
64
* a socket creation listener for sockets created by a ServerSocket.
66
public static final String SOCKET_CREATION_SERVER_LISTENER = "socketCreationServerListener";
69
* Key with which host address of client will be associated in InvocationRequest
72
public static final String CLIENT_ADDRESS = "clientAddress";
75
* Key for configuring Remoting wire version.
77
public static final String REMOTING_VERSION = "remotingVersion";
80
* Key for telling Remoting to execute security sensitive code outside of
81
* java.security.AccessController.doPrivileged() calls.
83
public static final String SKIP_ACCESS_CONTROL = "skipAccessControl";
86
* A flag indicating whether the RemotingClassLoader uses parent first (=true)
87
* or user class loader first delegation.
89
public static final String CLASSLOADING_PARENT_FIRST_DELEGATION = "classloadingParentFirstDelegation";
90
public static final String CLASSLOADING_PARENT_FIRST_DELEGATION_PROP = "org.jboss.remoting.classloadingParentFirstDelegation";
93
* Key for injecting into Connector a list of classloaders for remote
94
* classloading facility.
96
public static final String REMOTE_CLASS_LOADERS = "remoteClassLoaders";
99
* A flag indicating whether org.jboss.remoting.MicroRemoteClientInvoker should translate an
100
* org.jboss.remoting.ServerInvoker.InvalidStateException to an org.jboss.remoting.CannotConnectException.
102
public static final String CHANGE_INVALID_STATE_TO_CANNOT_CONNECT = "changeInvalidStateToCannotConnect";
105
* A flag indicating that AbstractInvoker should give priority to values in InvokerLocator over
106
* values in configuration map.
108
public static final String CONFIG_OVERRIDES_LOCATOR = "configOverridesLocator";
111
* A flag indicating that RemoteClientInvoker should use parameters in the InvokerLocator as
112
* well as the configuration map when creating a SocketFactory.
114
public static final String USE_ALL_SOCKET_FACTORY_PARAMS = "useAllSocketFactoryParams";
117
* Flags indicating that connection monitoring should treat a connection as being defined
118
* by one or two of its endpoints. I.e., if a [client invoker or] server invoker stops and restarts, then
119
* all connections it participated in are now gone.
121
public static final String USE_CLIENT_CONNECTION_IDENTITY = "useClientConnectionIdentity";
122
// public static final String USE_SERVER_CONNECTION_IDENTITY = "useServerConnectionIdentity";
125
* A flag for indicating that the Client configuration map should be used to configure
126
* marshallers and unmarshallers. If set to false (the default value), then parameters
127
* will be taken only from the InvokerLocator.
129
public static final String PASS_CONFIG_MAP_TO_MARSHAL_FACTORY = "passConfigMapToMarshalFactory";