Index Changes
This is version 3. It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

Using the Scheduler Binding Component

Contents


Scheduler Application Configuration



The Scheduler Application Configuration property allows you to change the settings for a trigger, such as start date and time, end date and time, without changing a projects business logic. The Scheduler Binding Component is designed to be configured at deployment.

Using Scheduler Binding Component Application Configuration

To configure your projects Scheduler Binding Components for application configuration, do the following:

Defining the Scheduler Application Configuration for a Project

  1. To associate a Configuration Extension profile with the Scheduler endpoint, Open your project service assembly in the CASA Editor. To do this, from the Project window, right-click your composite application's Service Assembly node, and choose Edit from the pop-up menu.

    The CASA Editor opens.
    Image shows the CASA Editor as described in context

  2. Right-click the Scheduler consumer port icon, and choose Properties from the pop-up menu.

    The Scheduler TriggerPort Properties Editor appears.
    Image shows the Trigger Properties Editor

  3. From the Properties Editor, under Config Extension, enter a name for your profile, such as the name of the Scheduler WSDL. Click Close.
  4. From the NetBeans Services window, make sure that GlassFish V2 server is started. If the GlassFish server is not started, right-click GlassFish V2 and choose Start from the pop-up menu. In the same way, make sure that the Scheduler Binding Component (sun-scheduler-binding) is also started.
  5. Right-click the sun-scheduler-binding and select Properties from the pop-up menu.
    Image shows the sun-scheduler-binding node in the NetBeans Services window

    The sun-scheduler-binding Properties Editor appears.
  6. From the sun-scheduler-binding Properties Editor, click the edit button for the Application Configuration property.

    The sun-scheduler-binding Application Configuration Editor appears.
  7. Click Add to add a new row to the Application Configuration Editor, representing all of the application configurable parameters for the Scheduler Binding Component.
  8. Enter the parameters for your binding
    • Name: Specifies the name of your binding profile
    • endDate: Specifies the trigger end date as a String literal, either never, or the date, conforming to the format specified in the Scheduler Control and Triggers Wizard.
    • startDate: Specifies the trigger start date as a String literal, either now, or the date, conforming to the format specified in the Scheduler Control and Triggers Wizard.
    • timeZone: Specifies the appropriate time zone for the environment where the deployed scheduler runs.
      Image shows the sun-scheduler-binding – Properties and the Application Configuration property editor

  9. Click OK and Close to save properties.

    When the composite application is deployed, the Scheduler Binding Component will use the new application configuration that has been defined for the respective endpoint.

Other Tools Used to Edit the Application Configuration

In addition to the NetBeans IDE, you can also use these other tools to edit the Scheduler Binding Component Application Configuration.




Previous
Next

JSPWiki v2.4.100
[RSS]
« Home Index Changes Prefs
This particular version was published on 01-May-09 10:00 AM, -0700 by rjacobus