org.norther.tammi.spray.servlet
Interface StartupServlet

All Known Implementing Classes:
DefaultStartupServlet

public interface StartupServlet

An interface to startup servlets.

Author:
Ilkka Priha

Field Summary
static String CONNECTOR_NAME_PROPERTY
          The connector name property.
static String INIT_PROPERTY_PREFIX
          The property prefix.
static String OBJECT_NAME_PROPERTY
          The object name property.
 
Method Summary
 ObjectName getConnector()
          Gets the servlet connector name.
 ServletConfig getServletConfig()
          Gets the servlet config of this servlet.
 String getServletInfo()
          Gets the servlet info.
 String getServletName()
          Gets the servlet name of this servlet.
 void setConnector(ObjectName name)
          Sets the servlet connector name.
 

Field Detail

INIT_PROPERTY_PREFIX

static final String INIT_PROPERTY_PREFIX
The property prefix.


OBJECT_NAME_PROPERTY

static final String OBJECT_NAME_PROPERTY
The object name property.


CONNECTOR_NAME_PROPERTY

static final String CONNECTOR_NAME_PROPERTY
The connector name property.

Method Detail

getServletInfo

String getServletInfo()
Gets the servlet info.

Returns:
the servlet info.

getServletName

String getServletName()
Gets the servlet name of this servlet.

Returns:
the servlet name or null.

getServletConfig

ServletConfig getServletConfig()
Gets the servlet config of this servlet.

Returns:
the servlet config.

getConnector

ObjectName getConnector()
Gets the servlet connector name.

Returns:
the name of the connector or a query.

setConnector

void setConnector(ObjectName name)
Sets the servlet connector name.

Parameters:
name - the name of the connector or a query.


Copyright © 2004 The Norther Organization. All rights reserved.