Hi Sam,

Are you referring to the org.apache.mina.statemachine package? There's a perfectly good reason for why it has to use strings for some of the parameters on the annotations it uses, e.g. the names of the states. If the state names were enumerations instead of strings that enum MUST be known at the time when the annotations are compiled. I think you can see why that would be impossible. :)

/Niklas

Sam Pullara skrev:
I was looking at the state machine but was disappointed to see that it uses Strings instead of enumerations. Is there some reason for that?

Thanks,
Sam



Reply via email to