Also. Is creating an MBean the best way to create a long lived process (read not service) that runs in jboss? I have a need for long lived processes that get kicked of by hot deploying an xml file to the deploy directory, or just having the xml there at deployment. Each process will be different, use different plugins and such but are all created from the same MBean.
OK. I got it working. I made a boo boo!