Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-5530

Wrong signature of default SchedulableMBean in the Scheduler MBean

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Minor Minor
    • No Release
    • JBossAS-4.2.2.GA
    • Scheduling/Timers
    • None
    • Workaround Exists
    • Hide

      Explicitly define a Schedulable-compatible method to be invoked in the Schedule MBean declaration:

      <attribute name="SchedulableMBeanMethod">perform(DATE,REPETITIONS)</attribute>

      Show
      Explicitly define a Schedulable-compatible method to be invoked in the Schedule MBean declaration: <attribute name="SchedulableMBeanMethod">perform(DATE,REPETITIONS)</attribute>

      The signature of the "perform" method which the Scheduler MBean would invoke when no SchedulableMBean attribute is specified is wrong.

      It is "perform(Date, int)", while the org.jboss.varia.scheduler.Schedulable interface would instead mandate a "perform(Date, long)" on the scheduled MBean.

            dandread1@redhat.com Dimitrios Andreadis
            g.tomassoni_jira Giampaolo Tomassoni (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: