Skip to main content

How to create WorkManager instance?

No replies
Joined: 2011-12-23

Good day.
I need to make new thread in glassfish 3.1.1 but I can't understand how to create WorkManager.
I saw that in Glassfish v2 there was static method WorkManagerFactory.getWorkManager("threadpoolname");
but now there is only object method
(new WorkManagerFactory).createWorkManager(String poolName, String raName, ClassLoader rarCL)
and I don't know what I must set to 2nd and 3rd parameters.
Can anybody answer how I can run thread?
Thank you.