com.ozacc.springframework.mail.javamail
クラス VelocityJavaMailSenderImpl

java.lang.Object
  拡張org.springframework.mail.javamail.JavaMailSenderImpl
      拡張com.ozacc.springframework.mail.javamail.IntlJavaMailSenderImpl
          拡張com.ozacc.springframework.mail.javamail.VelocityJavaMailSenderImpl
すべての実装インタフェース:
IntlJavaMailSender, JavaMailSender, MailSender, VelocityJavaMailSender

public class VelocityJavaMailSenderImpl
extends IntlJavaMailSenderImpl
implements VelocityJavaMailSender

VelocityJavaMailSenderインターフェースの実装クラス。 VelocityEngineインスタンスに依存しますが、このインスタンスが セットされていない場合は、次のbean定義と同等のVelocityEngineを 生成します。

 
 	true
 	
 		
 			class
 			org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
 			UTF-8
 			UTF-8
 			
 		
 	
 
 

このクラスにVelocityEngineインスタンスの生成を任せる場合、Velocityテンプレートは UTF-8でエンコードしてください。

NOTE: まだ実験段階です。

バージョン:
$Id: VelocityJavaMailSenderImpl.java,v 1.1 2004/08/02 20:39:06 otsuka Exp $
作成者:
Tomohiro Otsuka

フィールドの概要
 
クラス com.ozacc.springframework.mail.javamail.IntlJavaMailSenderImpl から継承したフィールド
charset, JIS_ENCODING
 
クラス org.springframework.mail.javamail.JavaMailSenderImpl から継承したフィールド
DEFAULT_PORT, DEFAULT_PROTOCOL, logger
 
コンストラクタの概要
VelocityJavaMailSenderImpl()
           
 
メソッドの概要
 void send(VelocityMailMessage velocityMailMessage)
          Send the given VelocityMailMessage.
 void send(VelocityMailMessage[] velocityMailMessages)
          Send the given VelocityMailMessages.
 void setVelocityEngine(org.apache.velocity.app.VelocityEngine engine)
           
 
クラス com.ozacc.springframework.mail.javamail.IntlJavaMailSenderImpl から継承したメソッド
assembleMailHeader, getCharset, send, send, send, setCharset, setText
 
クラス org.springframework.mail.javamail.JavaMailSenderImpl から継承したメソッド
createMimeMessage, getHost, getPassword, getPort, getProtocol, getSession, getTransport, getUsername, send, send, send, send, send, send, setHost, setJavaMailProperties, setPassword, setPort, setProtocol, setSession, setUsername
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース com.ozacc.springframework.mail.javamail.IntlJavaMailSender から継承したメソッド
send, send
 
インタフェース org.springframework.mail.javamail.JavaMailSender から継承したメソッド
createMimeMessage, send, send, send, send
 
インタフェース org.springframework.mail.MailSender から継承したメソッド
send, send
 

コンストラクタの詳細

VelocityJavaMailSenderImpl

public VelocityJavaMailSenderImpl()
メソッドの詳細

send

public void send(VelocityMailMessage velocityMailMessage)
          throws MailException
インタフェース VelocityJavaMailSender の記述:
Send the given VelocityMailMessage.

定義:
インタフェース VelocityJavaMailSender 内の send
パラメータ:
velocityMailMessage - 送信するVelocityMailMessage
例外:
MailException
関連項目:
VelocityJavaMailSender.send(com.ozacc.springframework.mail.VelocityMailMessage)

send

public void send(VelocityMailMessage[] velocityMailMessages)
          throws MailException
インタフェース VelocityJavaMailSender の記述:
Send the given VelocityMailMessages.

定義:
インタフェース VelocityJavaMailSender 内の send
パラメータ:
velocityMailMessages - 送信するVelocityMailMessageの配列
例外:
MailException
関連項目:
VelocityJavaMailSender.send(com.ozacc.springframework.mail.VelocityMailMessage[])

setVelocityEngine

public void setVelocityEngine(org.apache.velocity.app.VelocityEngine engine)
パラメータ:
engine -


Copyright © 2004 OZACC. All Rights Reserved.