|
Protomatter Classes v1.1.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.protomatter.pas.cron.PASCronManagerStartup
A startup class for registering cron events via the PAS properties file. This startup class looks through the PAS properties file for entries that look like this:
pas.cron.SYMBOLICNAME=\ topics=TOPIC1;TOPIC2;...;TOPICN,\ message=some text,\ year=year-list,\ month=month-list,\ day=day-list,\ weekday=weekday-list,\ hour=hour-list,\ minute=minute-list
And registers corresponding CronEntry objects with the PASCronManager.
The specified lists from above are:
When it comes time for the cron entry to be run, a PASEvent with the message as it's payload will be submitted to the PASEventManager's event topic tree, where interested objects can do something based on the event.
PASCronManager
,
CronEntry
,
PASEvent
Constructor Summary | |
PASCronManagerStartup()
Default constructor. |
Method Summary | |
java.lang.String |
startup(java.lang.String myName,
java.util.Properties pasProps,
java.util.Properties myProps,
javax.naming.Context context)
Start this thing up. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PASCronManagerStartup()
Method Detail |
public java.lang.String startup(java.lang.String myName, java.util.Properties pasProps, java.util.Properties myProps, javax.naming.Context context) throws StartupException
PASStartup
startup
in interface PASStartup
PASStartup
|
Protomatter Classes v1.1.6 Copyright 1998-2001 Nate Sammons |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Protomatter Classes v1.1.6 | http://protomatter.sourceforge.net/1.1.6 |