com.caucho.boot
Class BootResinConfig

java.lang.Object
  extended by com.caucho.boot.BootResinConfig

public class BootResinConfig
extends java.lang.Object


Method Summary
 void add(AdminAuthenticator auth)
           
 void addClient(com.caucho.boot.WatchdogClient client)
          Finds a server.
 void addCluster(BootClusterProxy proxy)
           
 void addClusterDefault(ContainerProgram program)
          Adds a new default to the cluster.
 void addContentProgram(ConfigProgram program)
          Ignore items we can't understand.
 void addServer(com.caucho.boot.WatchdogConfig config)
          Finds a server.
 BootManagementConfig createManagement()
           
 com.caucho.boot.WatchdogManagerConfig createWatchdogManager()
          Creates the watchdog-manager config
 void fillLocalClients(java.util.ArrayList<com.caucho.boot.WatchdogClient> clientList)
           
 com.caucho.boot.WatchdogClient findClient(java.lang.String id)
          Finds a server.
 java.util.ArrayList<com.caucho.boot.WatchdogClient> findLocalClients()
           
 com.caucho.boot.WatchdogConfig findServer(java.lang.String id)
          Finds a server.
 com.caucho.boot.WatchdogClient findShutdownClient(java.lang.String clusterId)
          Finds a server.
 java.lang.String getHomeCluster()
           
 Path getLogDirectory()
           
 BootManagementConfig getManagement()
          The management configuration
 int getNextIndex()
           
 Path getResinDataDirectory()
           
 Path getResinHome()
           
 java.lang.String getResinSystemAuthKey()
           
 Path getRootDirectory()
           
 boolean isHomeCluster()
           
static boolean isLocalClient(java.util.ArrayList<java.net.InetAddress> localAddresses, com.caucho.boot.WatchdogConfig config)
           
 boolean isWatchdogManagerConfig()
          Returns true if there is a config.
 void setHomeCluster(java.lang.String homeCluster)
           
 void setJoinCluster(java.lang.String joinCluster)
           
 void setManagement(BootManagementConfig management)
          Adds the management configuration
 void setResinDataDirectory(Path path)
           
 void setResinSystemAuthKey(java.lang.String digest)
           
 void setRootDirectory(Path rootDirectory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getResinHome

public Path getResinHome()

setRootDirectory

public void setRootDirectory(Path rootDirectory)

getRootDirectory

public Path getRootDirectory()

getLogDirectory

public Path getLogDirectory()

setResinDataDirectory

public void setResinDataDirectory(Path path)

getResinDataDirectory

public Path getResinDataDirectory()

setResinSystemAuthKey

public void setResinSystemAuthKey(java.lang.String digest)

getResinSystemAuthKey

public java.lang.String getResinSystemAuthKey()

setJoinCluster

@Configurable
public void setJoinCluster(java.lang.String joinCluster)

setHomeCluster

@Configurable
public void setHomeCluster(java.lang.String homeCluster)

getHomeCluster

public java.lang.String getHomeCluster()

isHomeCluster

public boolean isHomeCluster()

add

public void add(AdminAuthenticator auth)

createManagement

public BootManagementConfig createManagement()

setManagement

public void setManagement(BootManagementConfig management)
Adds the management configuration


getManagement

public BootManagementConfig getManagement()
The management configuration


isWatchdogManagerConfig

public boolean isWatchdogManagerConfig()
Returns true if there is a config.


findClient

public com.caucho.boot.WatchdogClient findClient(java.lang.String id)
Finds a server.


findLocalClients

public java.util.ArrayList<com.caucho.boot.WatchdogClient> findLocalClients()

findShutdownClient

public com.caucho.boot.WatchdogClient findShutdownClient(java.lang.String clusterId)
Finds a server.


fillLocalClients

public void fillLocalClients(java.util.ArrayList<com.caucho.boot.WatchdogClient> clientList)

isLocalClient

public static boolean isLocalClient(java.util.ArrayList<java.net.InetAddress> localAddresses,
                                    com.caucho.boot.WatchdogConfig config)

getNextIndex

public int getNextIndex()

addClient

public void addClient(com.caucho.boot.WatchdogClient client)
Finds a server.


findServer

public com.caucho.boot.WatchdogConfig findServer(java.lang.String id)
Finds a server.


addServer

public void addServer(com.caucho.boot.WatchdogConfig config)
Finds a server.


createWatchdogManager

public com.caucho.boot.WatchdogManagerConfig createWatchdogManager()
Creates the watchdog-manager config


addClusterDefault

public void addClusterDefault(ContainerProgram program)
Adds a new default to the cluster.


addCluster

public void addCluster(BootClusterProxy proxy)

addContentProgram

public void addContentProgram(ConfigProgram program)
Ignore items we can't understand.