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 StartupcreateStartup(org.apache.axiom.om.OMElement el)Create (build from OM) from the specified OMElementClass<SimpleQuartzSerializer>getSerializerClass()Get the Serializer class for this factoryQNamegetTagQName()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:StartupFactoryCreate (build from OM) from the specified OMElement- Specified by:
createStartupin interfaceStartupFactory- Parameters:
el- OMELement describing the Startup- Returns:
- Startup build from the given element
-
getSerializerClass
public Class<SimpleQuartzSerializer> getSerializerClass()
Description copied from interface:StartupFactoryGet the Serializer class for this factory- Specified by:
getSerializerClassin interfaceStartupFactory- Returns:
- Class defining the serialization of the startup
-
getTagQName
public QName getTagQName()
Description copied from interface:StartupFactoryGet the tag QName of the element- Specified by:
getTagQNamein interfaceStartupFactory- Returns:
- QName of the element
-
-