Create a Timertask class extension class
Public class checkemailaddresses extends Timertask {
Private List EmailAddresses;
Public void setemailaddresses (List emaildresses) {
THIS.EMAILADDRESS = EmailAddresses;
}
Public void run () {
// Itereate over all email addresses and archive them
}
}
Create an execution class, configure the Spring file
test@springframework.org value>
foo@bar.com value>
john@doe.net value>
list>
Property>
bean>
10000 value>
Property>
50000 value>
Property>
Property>
bean>
Ezerg Programming