[jboss-jira] [JBoss JIRA] Updated: (JBAS-5530) Wrong signature of default SchedulableMBean in the Scheduler MBean

Giampaolo Tomassoni (JIRA) jira-events at lists.jboss.org
Sun May 18 06:36:22 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBAS-5530?page=all ]

Giampaolo Tomassoni updated JBAS-5530:
--------------------------------------

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

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


  was:Create a "perform(Date, int)" method in the scheduled MBean which in turn calls the right "perform(Date, long)" method.

                  Priority: Minor  (was: Major)

I was suggesting a wrong workaround. Also, I don't believe this is a "Major" issue...

Sorry.

> Wrong signature of default SchedulableMBean in the Scheduler MBean
> ------------------------------------------------------------------
>
>                 Key: JBAS-5530
>                 URL: http://jira.jboss.com/jira/browse/JBAS-5530
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Scheduling/Timers
>    Affects Versions: JBossAS-4.2.2.GA
>            Reporter: Giampaolo Tomassoni
>         Assigned To: Dimitris Andreadis
>            Priority: Minor
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list