com.go.teaservlet
Interface ApplicationConfig

All Superinterfaces:
javax.servlet.ServletConfig
All Known Subinterfaces:
TeaServletEngine

public interface ApplicationConfig
extends javax.servlet.ServletConfig

The ApplicationConfig is the object that an Application will use to configure itself.

Version:
21 , 01/03/23
Author:
Reece Wilton

Method Summary
 Log getLog()
          Returns a log object that this application should use for reporting information pertaining to the operation of the application.
 java.lang.String getName()
          Returns the name of this application, which is the same as the log's name.
 Plugin getPlugin(java.lang.String name)
          Returns a plugin by name.
 java.util.Map getPlugins()
          Returns a mapping of all plugins by their names.
 PropertyMap getProperties()
          Returns initialization parameters in an easier to use map format.
 
Methods inherited from interface javax.servlet.ServletConfig
getInitParameter, getInitParameterNames, getServletContext, getServletName
 

Method Detail

getProperties

public PropertyMap getProperties()
Returns initialization parameters in an easier to use map format.

getName

public java.lang.String getName()
Returns the name of this application, which is the same as the log's name.

getLog

public Log getLog()
Returns a log object that this application should use for reporting information pertaining to the operation of the application.

getPlugin

public Plugin getPlugin(java.lang.String name)
Returns a plugin by name.

getPlugins

public java.util.Map getPlugins()
Returns a mapping of all plugins by their names.