MobiliserTask< C extends IMobiliserTaskConfiguration > class

Syntax

public class MobiliserTask< C extends IMobiliserTaskConfiguration >

Usage

The MobiliserTask is the base class for all Mobiliser task implementations. To register a task with the events engine, please do not export it directly into the OSGi registry, but rather use this snippet

2013 SAP AG or an SAP affiliate company. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice.

    <!-- use this dynamic exporter to refresh based on prefs, since we have
    no other way to change the cron interval -->
  <bean id="osgiExporter"
    class="com.sybase365.mobiliser.util.tools.spring.DynamicOsgiServiceFactoryBean">
    <property name="target" ref="expireInitialTransaction" />
    <property name="interfaces">
      <list>
        <value>com.sybase365.mobiliser.framework.task.model.TaskHandler


      </list>
    </property>
  </bean>

  <prefs:node id="node"
    class="com.sybase365.mobiliser.money.jobs.tasks.expireinitial.ExpireInitialTransaction"
    refreshable-beans="osgiExporter" />

2013 SAP AG or an SAP affiliate company. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice.