Expresso 5-5-0

com.jcorporate.expresso.services.controller
Class Configuration

java.lang.Object
  extended byorg.apache.struts.action.Action
      extended bycom.jcorporate.expresso.core.controller.Controller
          extended bycom.jcorporate.expresso.core.controller.DBController
              extended bycom.jcorporate.expresso.core.controller.SecureIfSetController
                  extended bycom.jcorporate.expresso.services.controller.Configuration
All Implemented Interfaces:
Serializable

public class Configuration
extends SecureIfSetController

This is a management controller that allows configuration of the expresso-services.xml file

Author:
Michael Rimov
See Also:
Serialized Form

Field Summary
static String CURRENT_RUNTIME_KEY
          Session identifier that stores the current Expresso runtime we're managing
static String STATE_PROCESS_CREATE_RUNTIME
           
static String STATE_PROMPT_CREATE_RUNTIME
           
static String STATE_SHOW_COMPONENT
           
static String STATE_SHOW_FILE
           
static String STATE_SHOW_RUNTIME
           
static String STATE_SHOW_STATUS
           
static String STATE_SWITCH_RUNTIME
           
 
Fields inherited from class com.jcorporate.expresso.core.controller.Controller
CTL_SUCC_CTL, CTL_SUCC_STATE, CTL_SUCC_TRAN, mLog, NEWSTATE_EXCEPTION_KEY, ORIGINAL_URL_KEY, REQUEST_KEY, RESPONSE_KEY, RETURN_TO_SENDER_TRAN, STATE_ERR_CTL, STATE_ERR_STATE, STATE_ERR_TRAN, STATE_SUCC_CTL, STATE_SUCC_STATE, STATE_SUCC_TRAN
 
Fields inherited from class org.apache.struts.action.Action
ACTION_SERVLET_KEY, APPLICATION_KEY, DATA_SOURCE_KEY, defaultLocale, ERROR_KEY, EXCEPTION_KEY, FORM_BEANS_KEY, FORWARDS_KEY, LOCALE_KEY, MAPPING_KEY, MAPPINGS_KEY, MESSAGE_KEY, MESSAGES_KEY, MULTIPART_KEY, PLUG_INS_KEY, REQUEST_PROCESSOR_KEY, servlet, SERVLET_KEY, TRANSACTION_TOKEN_KEY
 
Constructor Summary
Configuration()
          Default constructor, creates all the various states, etc.
 
Method Summary
 void runProcessCreateRuntime(ControllerRequest request, ControllerResponse response)
          todo what is this method for?
 void runPromptCreateRuntime(ControllerRequest request, ControllerResponse response)
           
 void runShowComponentState(ControllerRequest request, ControllerResponse response)
           
 void runShowConfigurationFileState(ControllerRequest request, ControllerResponse response)
           
 void runShowContainerStatusState(ControllerRequest request, ControllerResponse response)
           
 void runSummaryState(ControllerRequest request, ControllerResponse response)
           
 void runSwitchRuntimeState(ControllerRequest request, ControllerResponse response)
           
 void showContainerStatusState(ControllerRequest request, ControllerResponse response)
          Show basic running container status including a list of current ExpressoRuntimes that are operating within this Virtual Machine.
 
Methods inherited from class com.jcorporate.expresso.core.controller.SecureIfSetController
isDBConnectionAvailable, stateAllowed
 
Methods inherited from class com.jcorporate.expresso.core.controller.DBController
addTransition, getString, isAllowed
 
Methods inherited from class com.jcorporate.expresso.core.controller.Controller
addFinalState, addPromptTransitions, addRegDomainParamtoSession, addRequestedURLtoSession, addState, addStatePairing, endTimer, execute, findControllerForm, generateToken, getActionForward, getControllerChainingTransition, getControllerSecurityTransition, getFinalState, getInitialState, getLogger, getSchema, getSchemaHierarchy, getSchemaInstance, getState, getStates, getString, getString, getTitle, handleException, instantiate, isFinalState, isHandleState, isPromptState, isTokenValid, loadStateForm, newState, nextHandleState, nextPromptState, populateStateForm, postPerform, prePerform, previousPromptState, processRequestTransitions, processTransitions, redirectRequest, redirectRequest, remapFromExtension, resetToken, saveToken, setControllerChainingTransition, setControllerSecurityTransition, setCurrentState, setInitialState, setSchema, setSchema, setupDefaultValues, setupReturnToSender, setupSubclassLog, transition, transition, transition, unloadStateForm
 
Methods inherited from class org.apache.struts.action.Action
execute, generateToken, getDataSource, getDataSource, getLocale, getResources, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, perform, perform, resetToken, saveErrors, saveMessages, saveToken, setLocale, setServlet, toHex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CURRENT_RUNTIME_KEY

public static final String CURRENT_RUNTIME_KEY
Session identifier that stores the current Expresso runtime we're managing


STATE_SHOW_FILE

public static final String STATE_SHOW_FILE
See Also:
Constant Field Values

STATE_SWITCH_RUNTIME

public static final String STATE_SWITCH_RUNTIME
See Also:
Constant Field Values

STATE_SHOW_STATUS

public static final String STATE_SHOW_STATUS
See Also:
Constant Field Values

STATE_SHOW_RUNTIME

public static final String STATE_SHOW_RUNTIME
See Also:
Constant Field Values

STATE_SHOW_COMPONENT

public static final String STATE_SHOW_COMPONENT
See Also:
Constant Field Values

STATE_PROMPT_CREATE_RUNTIME

public static final String STATE_PROMPT_CREATE_RUNTIME
See Also:
Constant Field Values

STATE_PROCESS_CREATE_RUNTIME

public static final String STATE_PROCESS_CREATE_RUNTIME
See Also:
Constant Field Values
Constructor Detail

Configuration

public Configuration()
Default constructor, creates all the various states, etc.

Method Detail

runShowConfigurationFileState

public void runShowConfigurationFileState(ControllerRequest request,
                                          ControllerResponse response)
Parameters:
request - the controller request object
response - the controller response object

showContainerStatusState

public void showContainerStatusState(ControllerRequest request,
                                     ControllerResponse response)
Show basic running container status including a list of current ExpressoRuntimes that are operating within this Virtual Machine.

Parameters:
request - The ControllerRequest object that is
response - the controller response object

runSwitchRuntimeState

public void runSwitchRuntimeState(ControllerRequest request,
                                  ControllerResponse response)
Parameters:
request - the controller request object
response - the controller response object

runShowContainerStatusState

public void runShowContainerStatusState(ControllerRequest request,
                                        ControllerResponse response)
Parameters:
request - the controller request object
response - the controller response object

runShowComponentState

public void runShowComponentState(ControllerRequest request,
                                  ControllerResponse response)
Parameters:
request - the controller request object
response - the controller response object

runSummaryState

public void runSummaryState(ControllerRequest request,
                            ControllerResponse response)
Parameters:
request - the controller request object
response - the controller response object

runPromptCreateRuntime

public void runPromptCreateRuntime(ControllerRequest request,
                                   ControllerResponse response)
                            throws ControllerException
Parameters:
request - the controller request object
response - the controller response object
Throws:
ControllerException - upon error

runProcessCreateRuntime

public void runProcessCreateRuntime(ControllerRequest request,
                                    ControllerResponse response)
                             throws ControllerException
todo what is this method for? is it useful?

Parameters:
request - the controller request object
response - the controller response object
Throws:
ControllerException - upon error

Expresso 5-5-0

Please see www.jcorporate.com for information about new Expresso releases.