org.aselect.server.processor
Class AttributeProcessor

java.lang.Object
  extended by org.aselect.server.processor.AttributeProcessor
All Implemented Interfaces:
IProcessor

public class AttributeProcessor
extends java.lang.Object
implements IProcessor

The attribute processor. This processor can modify the user attributes which are passed to this module.


Concurrency issues:
-

Author:
Alfa & Ariss

Constructor Summary
AttributeProcessor()
          Create a new AttributeProcessor

Concurrency issues:
-

Preconditions:
-

Postconditions:
-
 
Method Summary
 void destroy()
          Clear up remaining vars.
 void init(ASelectConfigManager configManager, java.lang.Object oConfig)
          Init the module.
 boolean process(javax.servlet.http.HttpServletResponse servletResponse, java.lang.String sRid, java.util.Hashtable serviceRequest, java.util.Hashtable additional)
          Processes the actual request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeProcessor

public AttributeProcessor()
Create a new AttributeProcessor

Concurrency issues:
-

Preconditions:
-

Postconditions:
-

Method Detail

destroy

public void destroy()
Clear up remaining vars.

Specified by:
destroy in interface IProcessor
See Also:
IProcessor.destroy()

init

public void init(ASelectConfigManager configManager,
                 java.lang.Object oConfig)
          throws ASelectException
Init the module. Load the configuration.


Specified by:
init in interface IProcessor
Parameters:
configManager - the A-Select configuration manager.
oConfig - the specific configuration for the processor.
Throws:
ASelectException - if the configuration is invalid.
See Also:
IProcessor.init(org.aselect.server.config.ASelectConfigManager, java.lang.Object)

process

public boolean process(javax.servlet.http.HttpServletResponse servletResponse,
                       java.lang.String sRid,
                       java.util.Hashtable serviceRequest,
                       java.util.Hashtable additional)
                throws ASelectException
Processes the actual request.
Description:
Deserializes the string. Converts these into a list.


Specified by:
process in interface IProcessor
Parameters:
servletResponse - response object
sRid - the A-Select request id
serviceRequest - the service request parameters
additional - location dependent information
Returns:
boolean FALSE if the processor has send the response to the user.
Throws:
ASelectException - if an runtime error occurs during process.
See Also:
IProcessor.process(javax.servlet.http.HttpServletResponse, java.lang.String, java.util.Hashtable, java.util.Hashtable)


Copyright © 2008 SURFnet BV. All Rights Reserved.