scaffold API Documentation: Class SetUp
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
org.apache.commons.scaffold.http
Class SetUp
org.apache.commons.scaffold.http.ResourceServlet
|
+--org.apache.commons.scaffold.http.ConnectionServlet
|
+--org.apache.commons.scaffold.http.SetUp
public class SetUpextends ConnectionServlet
Load a connection adaptor and initialize default command store
for use with StorageBeans.
This servlet can be configured using the following init-params:
command_path Path to SQL commands (Properties file).
NOTE: Unlike the path to the Struts application resources file,
the paths for this servlet should use a slash and includes the
properties extension.
The runtime processing of requests is handled by the Struts controller.
This servlet is just to handle our own custom bits.
Field Summary
static java.lang.String
COMMAND_PARAMETER
Parameter to specify a new path for commands used by the
application [command_path].
static java.lang.String
COMMAND_PATH
Default path for commands used by application
["resources/command.properties"].
Fields inherited from class org.apache.commons.scaffold.http.ConnectionServlet
adaptor, ADAPTOR_DEFAULT, ADAPTOR_FAILED_EVENT, ADAPTOR_KEY, ADAPTOR_LOADING_EVENT, ADAPTOR_PARAMETER
Fields inherited from class org.apache.commons.scaffold.http.ResourceServlet
DEFAULT_ATTRIBUTE, DEFAULT_PARAMETER, DEFAULT_PATH, DESTROY_EVENT, INIT_FAILED_EVENT, logLevel, properties, RELOAD_EVENT, RESOURCE_LOADING, RESOURCE_NOT_FOUND
Constructor Summary
SetUp()
Method Summary
protected void
initCustom()
Initialize the SQL properties for the Artimus application.
Methods inherited from class org.apache.commons.scaffold.http.ConnectionServlet
initDefault
Methods inherited from class org.apache.commons.scaffold.http.ResourceServlet
destroy, destroyCustom, destroyDefault, destroyLogging, getInitInt, getInitParameters, getInitString, getLogLevel, getProperties, init, initLogging, isDebug, isLogLevel, isVerbose, loadProperties, log, reload, setLogLevel, setProperties
Field Detail
COMMAND_PARAMETER
public static java.lang.String COMMAND_PARAMETER
Parameter to specify a new path for commands used by the
application [command_path].
COMMAND_PATH
public static java.lang.String COMMAND_PATH
Default path for commands used by application
["resources/command.properties"].
Constructor Detail
SetUp
public SetUp()
Method Detail
initCustom
protected void initCustom()
throws java.io.IOException,
javax.servlet.ServletException
Initialize the SQL properties for the Artimus application.
Loads the commands for the keys and articles packages.
Overrides:initCustom in class ResourceServlet
Throws:java.io.IOException - if an input/output error is encounteredServletException - if we cannot initialize these resources
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Copyright © 2001-2002 - Apache Software Foundation
Wyszukiwarka
Podobne podstrony:
setupSETUP (2)setup S (2)setupHOWTO Setup a Virtual Postfix Courier Mail System with PostfixAdmin Gentoo Linux Wikisetup testfactory?7C34F4SETUPSetup Manual QNX6 5 0 SP1 RaspberryPIsetup instructions (2)Narzędzie setupSWS Facilities Setup GuidesetupHP Computer SetupMikroTik AP Setupwięcej podobnych podstron