public class JndiServer extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_POOL_SIZE
Default value for POOL_SIZE property.
|
static String |
POOL_SIZE_PROP
This property allows to set the number of listening thread, default value is 3.
|
static String |
SO_TIMEOUT_PROP
Deprecated.
|
private static TcpServer |
tcpServer |
Constructor and Description |
---|
JndiServer() |
Modifier and Type | Method and Description |
---|---|
static AgentId |
getDefault()
Returns the default JndiServer id on the local agent server.
|
static AgentId |
getDefault(short serverId)
Returns the default JndiServer id on the given agent server.
|
static void |
init(String args,
boolean firstTime) |
static void |
stopService()
Stops the
JndiServer service. |
@Deprecated public static final String SO_TIMEOUT_PROP
Be careful, this property is no longer used.
This property can be fixed either from java
launching
command, or in a3servers.xml
configuration file.
public static final String POOL_SIZE_PROP
This property can be fixed either from java
launching
command, or in a3servers.xml
configuration file.
public static final int DEFAULT_POOL_SIZE
private static TcpServer tcpServer
public static void stopService()
JndiServer
service.public static AgentId getDefault()
AgentId
of the JndiServerpublic static AgentId getDefault(short serverId)
serverId
- the id of the agent serverAgentId
of the JndiServerCopyright © 2023 ScalAgent D.T.. All rights reserved.