Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jbossmx.cluster.watchdog
Class Configuration  view Configuration download Configuration.java

java.lang.Object
  extended byorg.jbossmx.cluster.watchdog.Configuration

public final class Configuration
extends java.lang.Object

Class for storing hard coded configuration for Hermes.


Field Summary
private static java.lang.String ACTIVE_AGENT
           
static java.lang.String AGENT_CONFIGURATOR_CLASS_PROPERTY
          The property name which refers to the class that will configure the agent
private static java.lang.String COMPONENT_AGENT
           
private static java.lang.String DEFAULT_ACTIVE_MACHINE
          The Default machine on which to perform Active monitoring
static java.lang.String DEFAULT_ACTIVE_MACHINE_PROPERTY
          Default Active Machine property name in MACHINE_PROPERTIES
private static java.lang.String DEFAULT_FAILOVER_MACHINE
          The Default machine to failover to
static java.lang.String DEFAULT_FAILOVER_MACHINE_PROPERTY
          Default Failover Machine property name in MACHINE_PROPERTIES
private static java.lang.String DEFAULT_HERMES_DIRECTORY
           
private static java.lang.String FAILOVER_AGENT
           
static java.lang.String HERMES_CONFIG_DIRECTORY
          The directory in which Hermes configuration is stored
static java.lang.String HERMES_DIRECTORY
          The root directory of the Hermes deployment
static java.lang.String HERMES_DIRECTORY_PROPERTY
           
static java.lang.String MACHINE_PROPERTIES
          The location of the file which stores the machines the JMX Agents are running on
static java.lang.String MLET_JAR_PATH_PROPERTY
          The property name which refers to the Jar path the MLet MBean should used to look for MBeans
static java.lang.String MLET_RESOURCE_LOCATION_PROPERTY
          The property name which refers to the MLeRMIt resource location
private static java.lang.String SWAPMACHINES
          The RMI Binding of the SwapMachines remote interface
static java.lang.String TOLERATE_CUSTOM_MBEAN_FAILURE_PROPERTY
          The property name which refers the whether failure in loading / starting Custom mbeans is tolerated
static java.lang.String TOLERATE_SYSTEM_MBEAN_FAILURE_PROPERTY
          The property name which refers the whether failure in loading / starting System mbeans is tolerated.
 
Constructor Summary
Configuration()
           
 
Method Summary
static java.lang.String getRmiActiveAgent(java.lang.String projectName)
           
static java.lang.String getRmiComponentAgent(java.lang.String projectName)
           
static java.lang.String getRmiFailoverAgent(java.lang.String projectName)
           
private static java.lang.String getRmiProjectPrefix(java.lang.String projectName)
           
static java.lang.String getRmiSwapMachines(java.lang.String projectName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MLET_JAR_PATH_PROPERTY

public static final java.lang.String MLET_JAR_PATH_PROPERTY
The property name which refers to the Jar path the MLet MBean should used to look for MBeans

See Also:
Constant Field Values

MLET_RESOURCE_LOCATION_PROPERTY

public static final java.lang.String MLET_RESOURCE_LOCATION_PROPERTY
The property name which refers to the MLeRMIt resource location

See Also:
Constant Field Values

TOLERATE_SYSTEM_MBEAN_FAILURE_PROPERTY

public static final java.lang.String TOLERATE_SYSTEM_MBEAN_FAILURE_PROPERTY
The property name which refers the whether failure in loading / starting System mbeans is tolerated. A System MBean is HTMLAdaptor server, RMIAdaptorService

See Also:
Constant Field Values

TOLERATE_CUSTOM_MBEAN_FAILURE_PROPERTY

public static final java.lang.String TOLERATE_CUSTOM_MBEAN_FAILURE_PROPERTY
The property name which refers the whether failure in loading / starting Custom mbeans is tolerated

See Also:
Constant Field Values

AGENT_CONFIGURATOR_CLASS_PROPERTY

public static final java.lang.String AGENT_CONFIGURATOR_CLASS_PROPERTY
The property name which refers to the class that will configure the agent

See Also:
Constant Field Values

DEFAULT_HERMES_DIRECTORY

private static final java.lang.String DEFAULT_HERMES_DIRECTORY
See Also:
Constant Field Values

HERMES_DIRECTORY_PROPERTY

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

HERMES_DIRECTORY

public static final java.lang.String HERMES_DIRECTORY
The root directory of the Hermes deployment


HERMES_CONFIG_DIRECTORY

public static final java.lang.String HERMES_CONFIG_DIRECTORY
The directory in which Hermes configuration is stored


MACHINE_PROPERTIES

public static final java.lang.String MACHINE_PROPERTIES
The location of the file which stores the machines the JMX Agents are running on


ACTIVE_AGENT

private static final java.lang.String ACTIVE_AGENT
See Also:
Constant Field Values

FAILOVER_AGENT

private static final java.lang.String FAILOVER_AGENT
See Also:
Constant Field Values

COMPONENT_AGENT

private static final java.lang.String COMPONENT_AGENT
See Also:
Constant Field Values

SWAPMACHINES

private static final java.lang.String SWAPMACHINES
The RMI Binding of the SwapMachines remote interface

See Also:
Constant Field Values

DEFAULT_ACTIVE_MACHINE_PROPERTY

public static final java.lang.String DEFAULT_ACTIVE_MACHINE_PROPERTY
Default Active Machine property name in MACHINE_PROPERTIES

See Also:
Constant Field Values

DEFAULT_FAILOVER_MACHINE_PROPERTY

public static final java.lang.String DEFAULT_FAILOVER_MACHINE_PROPERTY
Default Failover Machine property name in MACHINE_PROPERTIES

See Also:
Constant Field Values

DEFAULT_ACTIVE_MACHINE

private static final java.lang.String DEFAULT_ACTIVE_MACHINE
The Default machine on which to perform Active monitoring

See Also:
Constant Field Values

DEFAULT_FAILOVER_MACHINE

private static final java.lang.String DEFAULT_FAILOVER_MACHINE
The Default machine to failover to

See Also:
Constant Field Values
Constructor Detail

Configuration

public Configuration()
Method Detail

getRmiActiveAgent

public static final java.lang.String getRmiActiveAgent(java.lang.String projectName)

getRmiFailoverAgent

public static final java.lang.String getRmiFailoverAgent(java.lang.String projectName)

getRmiComponentAgent

public static final java.lang.String getRmiComponentAgent(java.lang.String projectName)

getRmiSwapMachines

public static final java.lang.String getRmiSwapMachines(java.lang.String projectName)

getRmiProjectPrefix

private static final java.lang.String getRmiProjectPrefix(java.lang.String projectName)