electric.cluster.server
Class SlaveApplicationServer

java.lang.Object
  extended byelectric.cluster.server.ApplicationServer
      extended byelectric.cluster.server.SlaveApplicationServer
All Implemented Interfaces:
IApplicationServer, IClusterConstants, IEXMLLoggingConstants, IGLUELoggingConstants, ILoggingConstants

public class SlaveApplicationServer
extends ApplicationServer

SlaveApplicationServer

Author:
webMethods

Field Summary
 
Fields inherited from interface electric.cluster.IClusterConstants
APP_NAME, CLUSTER_MONITOR, DISABLE_HTTP_BALANCING, DISABLE_HTTP_FAILOVER, DISABLE_PERMESSAGE_BALANCING, DISABLE_PERMESSAGE_FAILOVER, ENTERPRISE_PATH, ENTERPRISE_SERVICE_PATH, GLUE_MASTER_NODE, GLUE_WEB_SERVER_PORT, JAR_EXT, LIVENESS_PATH, LIVENESS_SERVICE_PATH, LOCALHOST, LOCALHOST_RANDOM_PORT_URL, MANAGER_PATH, MASTER, NODE_MODE, PER_MSG_BALANCING, REGISTRY_PATH, SLAVE, SYSTEM_SERVICE, WAR_SUFFIX, WSSURL
 
Fields inherited from interface electric.glue.IGLUELoggingConstants
CLUSTER_DEBUG_EVENT, CLUSTER_EVENT, CONSOLE_DEBUG_EVENT, DEPLOY_EVENT, DETECTORS_EVENT, HTTP_EVENT, JMS_EVENT, REBINDING_EVENT, SECURITY_DEBUG_EVENT, SECURITY_DETAIL_EVENT, SERVLET_EVENT, SOAP_EVENT
 
Fields inherited from interface electric.xml.IEXMLLoggingConstants
MAPPING_EVENT, SCHEMA_EVENT
 
Fields inherited from interface electric.util.log.ILoggingConstants
CLASSLOADER_EVENT, COMMAND_EVENT, COMMENT_EVENT, CONFIG_EVENT, DEBUG_EVENT, ELECTRIC_LOGGING_PROPERTY, ERROR_EVENT, EXCEPTION_EVENT, FILE_EVENT, LICENSE_EVENT, RESOURCES_EVENT, SECURITY_EVENT, SHUTDOWN_EVENT, SOURCE_EVENT, SQL_EVENT, STARTUP_EVENT, WARNING_EVENT
 
Constructor Summary
SlaveApplicationServer()
           
 
Method Summary
 void applicationStarted(java.lang.String applicationPath)
           
 boolean isMaster()
           
protected  void onApplicationAdd(java.io.File applicationRoot)
           
protected  void onApplicationRemove(java.lang.String applicationName, boolean getNewCopy)
           
protected  void onServerStart()
           
 
Methods inherited from class electric.cluster.server.ApplicationServer
addApplication, getDeletedApplications, listApplications, removeApplication, start, startApplication, startServerMonitor, stopApplication, uploadApplication
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlaveApplicationServer

public SlaveApplicationServer()
                       throws java.lang.Exception
Method Detail

onServerStart

protected void onServerStart()
                      throws java.lang.Exception
Specified by:
onServerStart in class ApplicationServer
Throws:
java.lang.Exception

onApplicationAdd

protected void onApplicationAdd(java.io.File applicationRoot)
                         throws java.lang.Exception
Specified by:
onApplicationAdd in class ApplicationServer
Parameters:
applicationRoot -
Throws:
java.lang.Exception

onApplicationRemove

protected void onApplicationRemove(java.lang.String applicationName,
                                   boolean getNewCopy)
                            throws java.lang.Exception
Specified by:
onApplicationRemove in class ApplicationServer
Parameters:
applicationName -
getNewCopy -
Throws:
java.lang.Exception

isMaster

public boolean isMaster()
Returns:

applicationStarted

public void applicationStarted(java.lang.String applicationPath)
Parameters:
applicationPath -


copyright© 2001-2004 by webMethods All Rights Reserved.