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>
-
-
Constructor Summary
Constructors Constructor Description SimpleQuartzFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Startup
createStartup(org.apache.axiom.om.OMElement el)
Create (build from OM) from the specified OMElementClass<SimpleQuartzSerializer>
getSerializerClass()
Get the Serializer class for this factoryQName
getTagQName()
Get the tag QName of the element
-
-
-
Field Detail
-
TASK
public static final QName TASK
-
-
Method Detail
-
createStartup
public Startup createStartup(org.apache.axiom.om.OMElement el)
Description copied from interface:StartupFactory
Create (build from OM) from the specified OMElement- Specified by:
createStartup
in interfaceStartupFactory
- 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 interfaceStartupFactory
- 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 interfaceStartupFactory
- Returns:
- QName of the element
-
-