org.norther.tammi.spray.servlet
Interface StartupContext

All Known Implementing Classes:
DefaultStartupContext

public interface StartupContext

An interface to startup contexts.

Author:
Ilkka Priha

Field Summary
static String BINARY_PROPERTY
          The binary property (default is <root>/bin).
static String CONFIG_PROPERTY
          The config property (default is <root>/etc/config).
static String CONTEXT_PROPERTY_PREFIX
          The startup property prefix.
static String DATA_PROPERTY
          The data property (default is user home).
static String DEFAULT_ROOT
          The default root directory.
static String DOMAIN_PROPERTY
          The domain property.
static String LOCAL_ID
          The local server id.
static String LOGS_PROPERTY
          The logs property (default is <temp>/log).
static String OBJECT_NAME_PROPERTY
          The object name property.
static String PLUGINS_PROPERTY
          The plugins property.
static String ROOT_PROPERTY
          The root property (default is web-inf).
static String SERVER_ID_PROPERTY
          The server id property.
static String SERVER_PROPERTY
          The server property.
static String START_PROPERTY
          The start property (default is <root>/etc/start).
static String TEMP_PROPERTY
          The temp property (default is system temp).
 
Method Summary
 ServletContext getServletContext()
          Gets the servlet context.
 String getServletContextName()
          Gets the name of this servlet context.
 File getServletContextRoot()
          Gets the root of this servlet context.
 

Field Detail

CONTEXT_PROPERTY_PREFIX

static final String CONTEXT_PROPERTY_PREFIX
The startup property prefix.


OBJECT_NAME_PROPERTY

static final String OBJECT_NAME_PROPERTY
The object name property.


SERVER_ID_PROPERTY

static final String SERVER_ID_PROPERTY
The server id property.


SERVER_PROPERTY

static final String SERVER_PROPERTY
The server property.


ROOT_PROPERTY

static final String ROOT_PROPERTY
The root property (default is web-inf).


BINARY_PROPERTY

static final String BINARY_PROPERTY
The binary property (default is <root>/bin).


DATA_PROPERTY

static final String DATA_PROPERTY
The data property (default is user home).


START_PROPERTY

static final String START_PROPERTY
The start property (default is <root>/etc/start).


CONFIG_PROPERTY

static final String CONFIG_PROPERTY
The config property (default is <root>/etc/config).


TEMP_PROPERTY

static final String TEMP_PROPERTY
The temp property (default is system temp).


LOGS_PROPERTY

static final String LOGS_PROPERTY
The logs property (default is <temp>/log).


DOMAIN_PROPERTY

static final String DOMAIN_PROPERTY
The domain property.


PLUGINS_PROPERTY

static final String PLUGINS_PROPERTY
The plugins property.


DEFAULT_ROOT

static final String DEFAULT_ROOT
The default root directory.

See Also:
Constant Field Values

LOCAL_ID

static final String LOCAL_ID
The local server id.

See Also:
Constant Field Values
Method Detail

getServletContextName

String getServletContextName()
Gets the name of this servlet context.

Returns:
the context name.

getServletContextRoot

File getServletContextRoot()
Gets the root of this servlet context.

Returns:
the root file.

getServletContext

ServletContext getServletContext()
Gets the servlet context.

Returns:
the servlet context.


Copyright © 2004 The Norther Organization. All rights reserved.