org.ow2.jonas.ant.cluster
Class MailCluster

java.lang.Object
  extended by org.ow2.jonas.ant.jonasbase.Tasks
      extended by org.ow2.jonas.ant.cluster.ClusterTasks
          extended by org.ow2.jonas.ant.cluster.MailCluster

public class MailCluster
extends ClusterTasks

Define MailCluster task

Author:
Benoit Pelletier

Field Summary
 
Fields inherited from class org.ow2.jonas.ant.cluster.ClusterTasks
ARCH_BOTH_WEB_EJB, ARCH_SEPARATED_WEB_EJB
 
Constructor Summary
MailCluster()
          Default constructor
 
Method Summary
 void generatesTasks()
          Generates the mail tasks for each JOnAS's instances
 void setMailTo(String mailTo)
          Sets the recipient (MimePartDataSource)
 void setName(String name)
          Sets the name
 void setSubject(String subject)
          Sets the subject (MimePartDataSource)
 void setType(String type)
          Sets the type of factory
 
Methods inherited from class org.ow2.jonas.ant.cluster.ClusterTasks
addClusterTask, getArch, getClusterTasks, getDestDir, getDestDirPrefix, getDestDirSuffixIndFirst, getDestDirSuffixIndLast, getEjbInstNb, getLogInfo, getRootTask, getWebInstNb, log, setArch, setDestDirPrefix, setDestDirSuffixIndFirst, setDestDirSuffixIndLast, setEjbInstNb, setLogInfo, setRootTask, setWebInstNb
 
Methods inherited from class org.ow2.jonas.ant.jonasbase.Tasks
addTask, addTasks, addTasks, getTasks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailCluster

public MailCluster()
Default constructor

Method Detail

setMailTo

public void setMailTo(String mailTo)
Sets the recipient (MimePartDataSource)

Parameters:
mailTo - recipient.

setName

public void setName(String name)
Sets the name

Parameters:
name - name of the factory

setSubject

public void setSubject(String subject)
Sets the subject (MimePartDataSource)

Parameters:
subject - of the mail

setType

public void setType(String type)
Sets the type of factory

Parameters:
type - of factory

generatesTasks

public void generatesTasks()
Generates the mail tasks for each JOnAS's instances

Specified by:
generatesTasks in class ClusterTasks


Copyright © 2010 OW2 Consortium. All Rights Reserved.