~ubuntu-branches/ubuntu/raring/libjboss-remoting-java/raring

« back to all changes in this revision

Viewing changes to src/org/jboss/remoting/Remoting.java

  • Committer: Package Import Robot
  • Author(s): Torsten Werner
  • Date: 2011-09-09 14:01:03 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: package-import@ubuntu.com-20110909140103-hqokx61534tas9rg
Tags: 2.5.3.SP1-1
* Newer but not newest upstream release. Do not build samples.
* Change debian/watch to upstream's svn repo.
* Add patch to fix compile error caused by tomcat update.
  (Closes: #628303)
* Switch to source format 3.0.
* Switch to debhelper level 7.
* Remove useless Depends.
* Update Standards-Version: 3.9.2.
* Update README.source.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
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.
6
 
 *
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.
11
 
 *
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.
16
 
 *
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.
21
 
 */
22
 
 
23
 
package org.jboss.remoting;
24
 
 
25
 
 
26
 
public class Remoting
27
 
{
28
 
   private Remoting() {}
29
 
   
30
 
 
31
 
   /**
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.
34
 
    */
35
 
   public static final String CUSTOM_SERVER_SOCKET_FACTORY = "customServerSocketFactory";
36
 
   
37
 
 
38
 
   /**
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.
41
 
    */
42
 
   public static final String CUSTOM_SOCKET_FACTORY = "customSocketFactory";
43
 
   
44
 
   /**
45
 
    * Key for the configuration map passed to a Client to indicate the classname of
46
 
    * the socket factory to be used.
47
 
    */
48
 
   public static final String SOCKET_FACTORY_NAME = "socketFactory";
49
 
   
50
 
   /**
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".
53
 
    */
54
 
   public static final String SOCKET_FACTORY_CLASS_NAME = "socketFactoryClassName";
55
 
   
56
 
   /**
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.
59
 
    */
60
 
   public static final String SOCKET_CREATION_CLIENT_LISTENER = "socketCreationClientListener";
61
 
   
62
 
   /**
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.
65
 
    */
66
 
   public static final String SOCKET_CREATION_SERVER_LISTENER = "socketCreationServerListener";
67
 
 
68
 
   /**
69
 
    * Key with which host address of client will be associated in InvocationRequest
70
 
    * request payload.
71
 
    */
72
 
   public static final String CLIENT_ADDRESS = "clientAddress";
73
 
   
74
 
   /**
75
 
    * Key for configuring Remoting wire version.
76
 
    */
77
 
   public static final String REMOTING_VERSION = "remotingVersion";
78
 
   
79
 
   /**
80
 
    * Key for telling Remoting to execute security sensitive code outside of
81
 
    * java.security.AccessController.doPrivileged() calls.
82
 
    */
83
 
   public static final String SKIP_ACCESS_CONTROL = "skipAccessControl";
84
 
 
85
 
   /**
86
 
    * A flag indicating whether the RemotingClassLoader uses parent first (=true)
87
 
    * or user class loader first delegation.
88
 
    */
89
 
   public static final String CLASSLOADING_PARENT_FIRST_DELEGATION = "classloadingParentFirstDelegation";
90
 
   public static final String CLASSLOADING_PARENT_FIRST_DELEGATION_PROP = "org.jboss.remoting.classloadingParentFirstDelegation";
91
 
 
92
 
   /**
93
 
    * Key for injecting into Connector a list of classloaders for remote
94
 
    * classloading facility.
95
 
    */
96
 
   public static final String REMOTE_CLASS_LOADERS = "remoteClassLoaders";
97
 
   
98
 
   /**
99
 
    * A flag indicating whether org.jboss.remoting.MicroRemoteClientInvoker should translate an 
100
 
    * org.jboss.remoting.ServerInvoker.InvalidStateException to an org.jboss.remoting.CannotConnectException.
101
 
    */
102
 
   public static final String CHANGE_INVALID_STATE_TO_CANNOT_CONNECT = "changeInvalidStateToCannotConnect";
103
 
   
104
 
   /**
105
 
    * A flag indicating that AbstractInvoker should give priority to values in InvokerLocator over
106
 
    * values in configuration map.
107
 
    */
108
 
   public static final String CONFIG_OVERRIDES_LOCATOR = "configOverridesLocator";
109
 
   
110
 
   /**
111
 
    * A flag indicating that RemoteClientInvoker should use parameters in the InvokerLocator as
112
 
    * well as the configuration map when creating a SocketFactory.
113
 
    */
114
 
   public static final String USE_ALL_SOCKET_FACTORY_PARAMS = "useAllSocketFactoryParams";
115
 
 
116
 
   /**
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.
120
 
    */
121
 
   public static final String USE_CLIENT_CONNECTION_IDENTITY = "useClientConnectionIdentity";
122
 
//   public static final String USE_SERVER_CONNECTION_IDENTITY = "useServerConnectionIdentity";
123
 
 
124
 
   /**
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.
128
 
    */
129
 
   public static final String PASS_CONFIG_MAP_TO_MARSHAL_FACTORY = "passConfigMapToMarshalFactory";
130
 
}
131