forked from IQSS/dataverse
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added isTimerServer check; changed dayOfWeek parameter to numeric (le…
…ss error prone than alpha text) -"0" instead of "Sun" added documentation in timers.rst, including how to reconfigure timer schedule (caveat reconfiguring should be a one-off, tracking ejb-jar.xml files opens a can of worms IMHO). Added a sample ejb-jar file
- Loading branch information
Showing
3 changed files
with
55 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ejb-jar xmlns = "http://java.sun.com/xml/ns/javaee" | ||
version = "3.2" | ||
xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation = "http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_1.xsd"> | ||
<enterprise-beans> | ||
<session> | ||
<ejb-name>SavedSearchServiceBean</ejb-name> | ||
<ejb-class>edu.harvard.iq.dataverse.search.savedsearch.SavedSearchServiceBean</ejb-class> | ||
<session-type>Stateless</session-type> | ||
<timer> | ||
<schedule> | ||
<minute>30</minute> | ||
<hour>14</hour> | ||
<day-of-week>2</day-of-week> | ||
</schedule> | ||
<timeout-method> | ||
<method-name>makeLinksForAllSavedSearchesTimer</method-name> | ||
</timeout-method> | ||
</timer> | ||
</session> | ||
</enterprise-beans> | ||
</ejb-jar> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters