Startable Configuration

Top  Previous  Next

MoreMotion AF defines an interface (org.moremotion.startable.Startable) for the classes that need to be invoked together with MoreMotion when the application server boots.

The classes that implement org.moremotion.startable.Startable interface can be introduced using the startable configuration element in a global configuration file as follows.

  <startable name="MyScheduler">
    <class>com.mycompany.scheduler.ScheduleManager</class>
    <!-- implementation specific parameters -->
    <param name=""></param>
  </startable>

The nested Elements

class Element

Defines the name of the startable class that implements org.moremotion.startable.Startable interface.

param Element (Accepts MScript)

The parameters defined with param element are evaluated by the implementer classes.