|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kew.batch.MyXMLPollerServiceImpl
public class MyXMLPollerServiceImpl
Utility class responsible for polling and ingesting XML data files containing various forms of workflow engine data
(e.g. document types and rules). Loaded files and problem files are placed into a subdirectory of a configured
'loaded' and 'problem' directory, respectively. "Problem-ness" is determined by inspecting a 'processed' flag on each
XmlDoc in each collection. If not all XmlDocs are marked 'processed' an error is assumed,
and the collection file (e.g. for a Zip, the Zip file) is moved to the 'problem' directory. As such, it is the
XmlIngesterService's responsibility to mark any unknown or otherwise innocuous non-failure
non-processed files, as 'processed'. A different mechanism can be developed if this proves to be a problem, but for
now it is simple enough for the XmlIngesterService to determine this.
XmlPollerService,
XmlIngesterServiceImpl| Field Summary |
|---|
| Fields inherited from interface org.kuali.rice.kew.batch.XmlPollerService |
|---|
XML_COMPLETED_LOC_PROP, XML_INIT_DELAY_SECS_PROP, XML_PENDING_LOC_PROP, XML_POLL_INTERVAL_PROP, XML_PROBLEM_LOC_PROP, XML_ROOT_LOC_PROP |
| Constructor Summary | |
|---|---|
MyXMLPollerServiceImpl()
|
|
| Method Summary | |
|---|---|
int |
getInitialDelaySecs()
Gets the initial delay time in seconds |
int |
getPollIntervalSecs()
Gets the polling interval time in seconds |
String |
getXmlCompletedLocation()
|
String |
getXmlParentDirectory()
|
String |
getXmlPendingLocation()
|
String |
getXmlProblemLocation()
|
void |
run()
|
void |
setInitialDelaySecs(int seconds)
Sets the initial delay time in seconds |
void |
setPollIntervalSecs(int seconds)
Sets the polling interval time in seconds |
void |
setXmlCompletedLocation(String xmlCompletedLocation)
|
void |
setXmlParentDirectory(String xmlDataParentDirectory)
|
void |
setXmlPendingLocation(String xmlPendingLocation)
|
void |
setXmlProblemLocation(String xmlProblemLocation)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MyXMLPollerServiceImpl()
| Method Detail |
|---|
public void run()
run in interface Runnablepublic String getXmlCompletedLocation()
public void setXmlCompletedLocation(String xmlCompletedLocation)
public String getXmlPendingLocation()
public void setXmlPendingLocation(String xmlPendingLocation)
public String getXmlProblemLocation()
public void setXmlProblemLocation(String xmlProblemLocation)
public String getXmlParentDirectory()
public void setXmlParentDirectory(String xmlDataParentDirectory)
public void setPollIntervalSecs(int seconds)
seconds - the polling interval time in secondspublic int getPollIntervalSecs()
getPollIntervalSecs in interface org.kuali.rice.kew.batch.XmlPollerServicepublic void setInitialDelaySecs(int seconds)
seconds - the initial delay time in secondspublic int getInitialDelaySecs()
getInitialDelaySecs in interface org.kuali.rice.kew.batch.XmlPollerService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||