fr.dyade.aaa.jndi2.server
Class JndiServer

java.lang.Object
  extended by fr.dyade.aaa.jndi2.server.JndiServer

public class JndiServer
extends java.lang.Object

Class of a JNDI centralized server. This is an agent that may be accessed either by TCP connections or agent notifications.


Field Summary
static int DEFAULT_POOL_SIZE
           
static int DEFAULT_SO_TIMEOUT
           
static java.lang.String POOL_SIZE_PROP
           
static java.lang.String SO_TIMEOUT_PROP
           
 
Constructor Summary
JndiServer()
           
 
Method Summary
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(java.lang.String args, boolean firstTime)
           
static void stopService()
          Stops the JndiServer service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SO_TIMEOUT_PROP

public static final java.lang.String SO_TIMEOUT_PROP
See Also:
Constant Field Values

DEFAULT_SO_TIMEOUT

public static final int DEFAULT_SO_TIMEOUT
See Also:
Constant Field Values

POOL_SIZE_PROP

public static final java.lang.String POOL_SIZE_PROP
See Also:
Constant Field Values

DEFAULT_POOL_SIZE

public static final int DEFAULT_POOL_SIZE
See Also:
Constant Field Values
Constructor Detail

JndiServer

public JndiServer()
Method Detail

init

public static void init(java.lang.String args,
                        boolean firstTime)
                 throws java.lang.Exception
Throws:
java.lang.Exception

stopService

public static void stopService()
Stops the JndiServer service.


getDefault

public static AgentId getDefault()
Returns the default JndiServer id on the local agent server.

Returns:
the AgentId of the JndiServer

getDefault

public static AgentId getDefault(short serverId)
Returns the default JndiServer id on the given agent server.

Parameters:
serverId - the id of the agent server
Returns:
the AgentId of the JndiServer


Copyright © 2004 Scalagent - All rights reserved