|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.w3c.jigsaw.servlet.ServletPropertiesReader
public class ServletPropertiesReader
Field Summary | |
---|---|
static java.lang.String |
ALLOW_DELETE_P
|
static java.lang.String |
ARGS_SEPARATOR
|
static java.lang.String |
CODE_P
|
static java.lang.String |
CODEBASE_P
|
static java.lang.String |
DESCRIPTION_P
|
protected static java.lang.Class |
frameclass
|
protected LookupTable |
general
|
static java.lang.String |
ICON_P
|
static java.lang.String |
INIT_ARGS_P
|
static java.lang.String |
SERVLET_BASE_P
|
static java.lang.String |
SERVLET_PROPS_FILE
|
protected LookupTable |
servlets
|
static java.lang.String |
STARTUP_P
|
Constructor Summary | |
---|---|
ServletPropertiesReader()
|
Method Summary | |
---|---|
protected ResourceReference |
getServletDirectoryReference(httpd server)
Get the servlet directory reference. |
protected void |
initialize(java.lang.String name,
ServletWrapper wrapper,
DirectoryResource parent)
Initialize a ServletWrapper. |
protected void |
initializeServlet(java.lang.String name,
httpd server,
ResourceReference sdir)
Initialize a servlet or create it if not found |
void |
preload(httpd server)
Load the servlets configuration from servlets.properties. |
protected void |
readProperties(java.io.File file)
Read the servlets.properties file |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SERVLET_PROPS_FILE
public static final java.lang.String SERVLET_BASE_P
public static final java.lang.String ALLOW_DELETE_P
public static final java.lang.String CODE_P
public static final java.lang.String INIT_ARGS_P
public static final java.lang.String DESCRIPTION_P
public static final java.lang.String CODEBASE_P
public static final java.lang.String ICON_P
public static final java.lang.String ARGS_SEPARATOR
public static final java.lang.String STARTUP_P
protected LookupTable general
protected LookupTable servlets
protected static java.lang.Class frameclass
Constructor Detail |
---|
public ServletPropertiesReader()
Method Detail |
---|
public void preload(httpd server)
preload
in interface httpdPreloadInterface
server
- the http server to configureprotected ResourceReference getServletDirectoryReference(httpd server)
protected void initializeServlet(java.lang.String name, httpd server, ResourceReference sdir)
name
- the servlet's nameserver
- the http serverprotected void initialize(java.lang.String name, ServletWrapper wrapper, DirectoryResource parent) throws InvalidResourceException, MultipleLockException
name
- the servlet's namewrapper
- the ServletWrapper (or null)
InvalidResourceException
MultipleLockException
protected void readProperties(java.io.File file)
file
- the servlets.properties file.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |