org.aselect.server.sam
Class SAMService

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.aselect.system.sam.service.SAMServiceServlet
              extended by org.aselect.server.sam.SAMService
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class SAMService
extends SAMServiceServlet

The A-Select Server SAM Service servlet.

Description:
The SAM Servlet that is used for monitoring the A-Select Server.

Concurrency issues:
-

Author:
Alfa & Ariss
See Also:
Serialized Form

Field Summary
static java.lang.String MODULE
          The module name.
 
Fields inherited from class org.aselect.system.sam.service.SAMServiceServlet
_htOIDs, _sSAMServiceForm, _sSAMServiceStatusForm, _sWorkingDir
 
Constructor Summary
SAMService()
           
 
Method Summary
 void destroy()
          Calls the destroy of the super class.
protected  java.util.Hashtable getSAMInfo()
          Adds all specific A-Select Server information to the common SAM information.
protected  java.lang.String getSysDescr()
          Returns the A-Select Server discription represented as a String.
protected  SystemLogger getSystemLogger()
          Returns the A-Select SystemLogger
protected  java.lang.String getVersion()
          Returns the A-Select Server version number.
 void init(javax.servlet.ServletConfig oServletConfig)
          Initialize method for this Servlet, that starts the initialize of the super class and loads all specific A-Select Server OID's to the _htOIDs Hashtable
protected  int operational()
          Checks if the A-Select Server Servlet is operational.
 
Methods inherited from class org.aselect.system.sam.service.SAMServiceServlet
getCommonSAMInfo, getContextUrl, service
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MODULE

public static final java.lang.String MODULE
The module name.

See Also:
Constant Field Values
Constructor Detail

SAMService

public SAMService()
Method Detail

init

public void init(javax.servlet.ServletConfig oServletConfig)
          throws javax.servlet.ServletException
Initialize method for this Servlet, that starts the initialize of the super class and loads all specific A-Select Server OID's to the _htOIDs Hashtable

Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class SAMServiceServlet
Throws:
javax.servlet.ServletException
See Also:
Servlet.init(javax.servlet.ServletConfig)

destroy

public void destroy()
Calls the destroy of the super class.

Specified by:
destroy in interface javax.servlet.Servlet
Overrides:
destroy in class SAMServiceServlet
See Also:
SAMServiceServlet.destroy()

getSystemLogger

protected SystemLogger getSystemLogger()
Returns the A-Select SystemLogger

Specified by:
getSystemLogger in class SAMServiceServlet
Returns:
the SystemLogger object
See Also:
SAMServiceServlet.getSystemLogger()

getSAMInfo

protected java.util.Hashtable getSAMInfo()
Adds all specific A-Select Server information to the common SAM information.

Specified by:
getSAMInfo in class SAMServiceServlet
Returns:
Hashtable that contains the OID (as key) and the OID value (as value).
See Also:
SAMServiceServlet.getSAMInfo()

operational

protected int operational()
Checks if the A-Select Server Servlet is operational.

Specified by:
operational in class SAMServiceServlet
Returns:
int that represents if the servlet is operational (1) or not (-1).
See Also:
SAMServiceServlet.operational()

getSysDescr

protected java.lang.String getSysDescr()
Returns the A-Select Server discription represented as a String.

Specified by:
getSysDescr in class SAMServiceServlet
Returns:
String that contains a description of the system.
See Also:
SAMServiceServlet.getSysDescr()

getVersion

protected java.lang.String getVersion()
Returns the A-Select Server version number.

Specified by:
getVersion in class SAMServiceServlet
Returns:
String containing version information
See Also:
SAMServiceServlet.getVersion()


Copyright © 2008 SURFnet BV. All Rights Reserved.