|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.commons.jelly.TagSupport
org.apache.commons.jelly.tags.quartz.QuartzTagSupport
public abstract class QuartzTagSupport
Basic support for all tags requiring a Quartz scheduler.
| Field Summary | |
|---|---|
static java.lang.String |
SCHED_VAR_NAME
The scheduler variable name in the JellyContext. |
| Fields inherited from class org.apache.commons.jelly.TagSupport |
|---|
body, context, hasTrimmed, parent, shouldTrim |
| Constructor Summary | |
|---|---|
QuartzTagSupport()
|
|
| Method Summary | |
|---|---|
org.quartz.Scheduler |
getScheduler()
Retrieve or create a scheduler. |
| Methods inherited from class org.apache.commons.jelly.TagSupport |
|---|
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.commons.jelly.Tag |
|---|
doTag |
| Field Detail |
|---|
public static final java.lang.String SCHED_VAR_NAME
| Constructor Detail |
|---|
public QuartzTagSupport()
| Method Detail |
|---|
public org.quartz.Scheduler getScheduler()
throws org.quartz.SchedulerException
If a scheduler has already been created an installed
in the variable SCHED_VAR_NAME, then that scheduler
will be returned. Otherwise, a new StdScheduler will be
created, started, and installed. Additionally, a runtime
shutdown hook will be added to cleanly shutdown the scheduler.
org.quartz.SchedulerException - If there is an error creating the
scheduler.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||