org.jiim.translation
Class TranslationEngineAdvice

java.lang.Object
  extended by org.jiim.translation.TranslationEngineAdvice

public class TranslationEngineAdvice
extends java.lang.Object

Maintenance & troubleshooting aspect used to notify by email when an empty string is returned by a org.jiim.translation.ITranslationEngine implementation


Field Summary
protected  org.apache.commons.logging.Log logger
           
static java.lang.String NEW_LINE
           
 
Constructor Summary
TranslationEngineAdvice()
           
 
Method Summary
 org.springframework.mail.SimpleMailMessage getMailMessage()
           
 org.springframework.mail.MailSender getMailSender()
           
 void notify(org.aspectj.lang.JoinPoint jp, java.lang.Object translatedString, java.lang.String from, java.lang.String to, java.lang.String text)
           
 void setMailMessage(org.springframework.mail.SimpleMailMessage mailMessage)
           
 void setMailSender(org.springframework.mail.MailSender mailSender)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final org.apache.commons.logging.Log logger

NEW_LINE

public static final java.lang.String NEW_LINE
Constructor Detail

TranslationEngineAdvice

public TranslationEngineAdvice()
Method Detail

setMailSender

public void setMailSender(org.springframework.mail.MailSender mailSender)

setMailMessage

public void setMailMessage(org.springframework.mail.SimpleMailMessage mailMessage)

getMailSender

public org.springframework.mail.MailSender getMailSender()

getMailMessage

public org.springframework.mail.SimpleMailMessage getMailMessage()

notify

public void notify(org.aspectj.lang.JoinPoint jp,
                   java.lang.Object translatedString,
                   java.lang.String from,
                   java.lang.String to,
                   java.lang.String text)


© 2005 jorge de castro