public static enum ConfigurationConstants.CommunicationProtocol extends java.lang.Enum<ConfigurationConstants.CommunicationProtocol>
| Enum Constant and Description |
|---|
COMM_GLOBAL
The name of the communication protocol for an address resolved by the
global registry.
|
COMM_LOCAL
The name of the communication protocol for local communication.
|
COMM_MINA
The name of the communication protocol using invocation and MINA
serialisation codec.
|
COMM_MINA_CLIENT_ONLY
The name of the communication protocol using invocation, MINA serialisation
codec and no server port for a client (the one and only connection is used
from both directions).
|
COMM_MINA_CLIENT_ONLY_SSL
The name of the communication protocol using invocation, MINA serialisation
codec, no server port for a client (the one and only connection is used
from both directions) and MINA SSL filter.
|
COMM_MINA_CLIENT_ONLY_SSL_XSTREAM
The name of the communication protocol using invocation, XStream
serialisation, no server port for a client (the one and only connection is
used from both directions) and MINA SSL filter.
|
COMM_MINA_CLIENT_ONLY_XSTREAM
The name of the communication protocol using invocation, XStream
serialisation and no server port for a client (the one and only connection
is used from both directions).
|
COMM_MINA_SSL
The name of the communication protocol using invocation, MINA serialisation
codec and MINA SSL filter.
|
COMM_MINA_SSL_XSTREAM
The name of the communication protocol using invocation, XStream
serialisation and MINA SSL filter.
|
COMM_MINA_XSTREAM
The name of the communication protocol using invocation and XStream
serialisation.
|
COMM_NETTY
The name of the communication protocol using Netty and Java serialisation.
|
COMM_NETTY_ONE_CONN_ONLY
The name of the communication protocol using Netty, Java serialisation and no server port for
a client (the one and only connection is used from both directions).
|
COMM_NETTY_ONE_CONN_SSL
The name of the communication protocol using Netty, Java serialisation, no server
port for a client (the one and only connection is used from both directions) and SSL.
|
COMM_NETTY_ONE_CONN_SSL_XSTREAM
The name of the communication protocol using Netty, XStream serialisation, no server port for
a client (the one and only connection is used from both directions) and SSL.
|
COMM_NETTY_ONE_CONN_XSTREAM
The name of the communication protocol using Nett, XStream serialisation and no server port
for a client (the one and only connection is used from both directions).
|
COMM_NETTY_SSL
The name of the communication protocol using Netty, Java serialisation and SSL.
|
COMM_NETTY_SSL_XSTREAM
The name of the communication protocol using Netty, XStream serialisation and SSL.
|
COMM_NETTY_XSTREAM
The name of the communication protocol using Netty and XStream serialisation.
|
| Modifier and Type | Method and Description |
|---|---|
static ConfigurationConstants.CommunicationProtocol |
fromString(java.lang.String scheme)
Tries to convert the designated scheme to a corresponding communication
protocol.
|
java.lang.String |
getScheme()
Gets the scheme of this protocol as used in the corresponding URIs.
|
static ConfigurationConstants.CommunicationProtocol |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConfigurationConstants.CommunicationProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigurationConstants.CommunicationProtocol COMM_LOCAL
public static final ConfigurationConstants.CommunicationProtocol COMM_MINA_SSL
public static final ConfigurationConstants.CommunicationProtocol COMM_MINA_SSL_XSTREAM
public static final ConfigurationConstants.CommunicationProtocol COMM_MINA_CLIENT_ONLY_SSL
public static final ConfigurationConstants.CommunicationProtocol COMM_MINA_CLIENT_ONLY_SSL_XSTREAM
public static final ConfigurationConstants.CommunicationProtocol COMM_MINA
public static final ConfigurationConstants.CommunicationProtocol COMM_MINA_XSTREAM
public static final ConfigurationConstants.CommunicationProtocol COMM_MINA_CLIENT_ONLY
public static final ConfigurationConstants.CommunicationProtocol COMM_MINA_CLIENT_ONLY_XSTREAM
public static final ConfigurationConstants.CommunicationProtocol COMM_NETTY_SSL
public static final ConfigurationConstants.CommunicationProtocol COMM_NETTY_SSL_XSTREAM
public static final ConfigurationConstants.CommunicationProtocol COMM_NETTY_ONE_CONN_SSL
public static final ConfigurationConstants.CommunicationProtocol COMM_NETTY_ONE_CONN_SSL_XSTREAM
public static final ConfigurationConstants.CommunicationProtocol COMM_NETTY
public static final ConfigurationConstants.CommunicationProtocol COMM_NETTY_XSTREAM
public static final ConfigurationConstants.CommunicationProtocol COMM_NETTY_ONE_CONN_ONLY
public static final ConfigurationConstants.CommunicationProtocol COMM_NETTY_ONE_CONN_XSTREAM
public static final ConfigurationConstants.CommunicationProtocol COMM_GLOBAL
public static ConfigurationConstants.CommunicationProtocol[] values()
for (ConfigurationConstants.CommunicationProtocol c : ConfigurationConstants.CommunicationProtocol.values()) System.out.println(c);
public static ConfigurationConstants.CommunicationProtocol valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic final java.lang.String getScheme()
public static ConfigurationConstants.CommunicationProtocol fromString(java.lang.String scheme)
IllegalArgumentException will be thrown. Enum.valueOf(Class, String) but the scheme may
have a "." and arbitrary characters following to allow for
several communication services using the same communication protocol.scheme - The name of the scheme to get the communication protocol
for. Only the prefix before "." is relevant.java.lang.IllegalArgumentException - If the designated scheme does not
specify a communication protocol or it is null, an
IllegalArgumentException will be thrown.