asit.framework.servlet.notification
Class SignNotificationFactory

java.lang.Object
  extended byasit.framework.servlet.content.ContentFactory
      extended byasit.framework.servlet.notification.NotificationFactory
          extended byasit.framework.servlet.notification.SignNotificationFactory

public abstract class SignNotificationFactory
extends NotificationFactory

Author:
Arne Tauber

Field Summary
protected  File xmlNotification_
           
protected  DeliveryClient zsClient_
           
protected  File zsProperties_
           
 
Fields inherited from class asit.framework.servlet.notification.NotificationFactory
client_
 
Fields inherited from class asit.framework.servlet.content.ContentFactory
contentDefaultEncoding_, httpServletRequest_, messageProperties_, redirector_
 
Constructor Summary
SignNotificationFactory(File messagePropertiesFile, File zsProperties)
           
 
Method Summary
 String getContent()
          interface used for a FrontEndServlet
protected abstract  String getErrorHTMLCode(Exception e)
           
protected abstract  String getZSType()
           
protected  String handleXMLNotification()
           
protected abstract  void prepareSignature()
           
protected abstract  void prepareZSClient(Document notifcation)
           
protected abstract  String successHTMLCode()
           
 
Methods inherited from class asit.framework.servlet.notification.NotificationFactory
createSignature
 
Methods inherited from class asit.framework.servlet.content.ContentFactory
getContentTitle, getDispatchTitle, getPageTitle, getPropertyValue, getRedirector, getResponseString, setHttpServletRequest, setHttpServletResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xmlNotification_

protected File xmlNotification_

zsProperties_

protected File zsProperties_

zsClient_

protected DeliveryClient zsClient_
Constructor Detail

SignNotificationFactory

public SignNotificationFactory(File messagePropertiesFile,
                               File zsProperties)
                        throws IOException,
                               ClientException
Method Detail

prepareSignature

protected abstract void prepareSignature()
                                  throws ClientException,
                                         IOException
Throws:
ClientException
IOException

prepareZSClient

protected abstract void prepareZSClient(Document notifcation)
                                 throws ClientException
Throws:
ClientException

getZSType

protected abstract String getZSType()

handleXMLNotification

protected String handleXMLNotification()

getErrorHTMLCode

protected abstract String getErrorHTMLCode(Exception e)

successHTMLCode

protected abstract String successHTMLCode()

getContent

public String getContent()
Description copied from class: ContentFactory
interface used for a FrontEndServlet

Specified by:
getContent in class ContentFactory
Returns:


Copyright 2007 Institut fuer Angewandte Informationsverarbeitung und Kommunikationstechnologie. All Rights Reserved.