org.apache.synapse.startup.quartz
Class SimpleQuartzFactory
java.lang.Object
org.apache.synapse.startup.quartz.SimpleQuartzFactory
- All Implemented Interfaces:
- StartupFactory
public class SimpleQuartzFactory
- extends Object
- implements StartupFactory
<task class="org.my.synapse.Task" name="string">
<description>description in text</description>
<property name="stringProp" value="String"/>
<property name="xmlProp">
<somexml>config</somexml>
</property>
<trigger ([[count="10"]? interval="1000"] | [cron="0 * 1 * * ?"] | [once=(true | false)])/>
</task>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TASK
public static final QName TASK
SimpleQuartzFactory
public SimpleQuartzFactory()
createStartup
public Startup createStartup(OMElement el)
- Description copied from interface:
StartupFactory
- Create (build from OM) from the specified OMElement
- Specified by:
createStartup
in interface StartupFactory
- Parameters:
el
- OMELement describing the Startup
- Returns:
- Startup build from the given element
getSerializerClass
public Class<SimpleQuartzSerializer> getSerializerClass()
- Description copied from interface:
StartupFactory
- Get the Serializer class for this factory
- Specified by:
getSerializerClass
in interface StartupFactory
- Returns:
- Class defining the serialization of the startup
getTagQName
public QName getTagQName()
- Description copied from interface:
StartupFactory
- Get the tag QName of the element
- Specified by:
getTagQName
in interface StartupFactory
- Returns:
- QName of the element
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.