1 Reply Latest reply on Jan 22, 2004 9:34 AM by casadelnorte

    Scheduler with Array parameter

       

      "CasaDelNorte" wrote:
      "CasaDelNorte" wrote:
      Been looking high and low - does anyone know of a way to include an array of values as one of the Jboss scheduler paramaters?

      Example:
      For attribute name="SchedulableArguments", a value of:
      17,US,{one,two,three}

      For attribute name="SchedulableArgumentTypes", a value of:
      int,java.lang.String,java.util.ArrayList


      Any hints or help will be greatly appreciated.
      Larry


        • 1. Re: Scheduler with Array parameter

           

          "CasaDelNorte" wrote:
          "CasaDelNorte" wrote:
          Hmmm - well, at least I found a work-around. I've added a java.lang.String parameter with the values of one|two|three and using StringTokenizer to split them in the class. This just feels a little... hacky. Is there a better way?