org.apache.synapse.startup.quartz
Class SimpleQuartzFactory

java.lang.Object
  extended by 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>


Field Summary
static QName TASK
           
 
Constructor Summary
SimpleQuartzFactory()
           
 
Method Summary
 Startup createStartup(OMElement el)
          Create (build from OM) from the specified OMElement
 Class<SimpleQuartzSerializer> getSerializerClass()
          Get the Serializer class for this factory
 QName getTagQName()
          Get the tag QName of the element
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TASK

public static final QName TASK
Constructor Detail

SimpleQuartzFactory

public SimpleQuartzFactory()
Method Detail

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.