com.infoengine.procunit.template
Class TemplateProcessorImpl

java.lang.Object
  extended bycom.infoengine.procunit.template.TemplateProcessorImpl
All Implemented Interfaces:
IeProcessor

public class TemplateProcessorImpl
extends Object
implements IeProcessor


Field Summary
private  com.infoengine.log.LogWriter logWriter
           
(package private) static String myHostName
           
protected  Request originalRequest
           
private  IeMultipartOutputStream outputWriter
           
protected  Request response
           
private  String scriptTag
           
private  String serviceName
           
private  WebjectProcessor webjector
           
 
Constructor Summary
TemplateProcessorImpl()
           
 
Method Summary
 void initialize(String serviceName, com.infoengine.log.LogWriter log)
          Initialize the adapter implementation class.
private  Task invokeTemplate(Task task, String name)
           
 IeRequest processRequest(Request request)
          Process a request received from the Info*Engine server.
private  void processTemplate(IeGroup grp)
           
private  boolean processWebject(IeNode node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logWriter

private com.infoengine.log.LogWriter logWriter

outputWriter

private IeMultipartOutputStream outputWriter

serviceName

private String serviceName

webjector

private WebjectProcessor webjector

myHostName

static String myHostName

scriptTag

private String scriptTag

originalRequest

protected Request originalRequest

response

protected Request response
Constructor Detail

TemplateProcessorImpl

public TemplateProcessorImpl()
Method Detail

initialize

public void initialize(String serviceName,
                       com.infoengine.log.LogWriter log)
Description copied from interface: IeProcessor
Initialize the adapter implementation class.

Specified by:
initialize in interface IeProcessor
Parameters:
serviceName - Logical name defined for this implementation
log - file to write informational and debug messages.

processRequest

public IeRequest processRequest(Request request)
                         throws IEException
Description copied from interface: IeProcessor
Process a request received from the Info*Engine server. This method is called when a adapter request if received on the Info*Engine socket.

Specified by:
processRequest in interface IeProcessor
Parameters:
request - The request to perform
Throws:
IEException

processTemplate

private void processTemplate(IeGroup grp)
                      throws IEException
Throws:
IEException

processWebject

private boolean processWebject(IeNode node)
                        throws IEException
Throws:
IEException

invokeTemplate

private Task invokeTemplate(Task task,
                            String name)
                     throws IEException
Throws:
IEException