users@glassfish.java.net

How to create WorkManager instance?

From: <forums_at_java.net>
Date: Thu, 4 Oct 2012 07:12:16 -0500 (CDT)

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.

--
[Message sent by forum member 'mumps']
View Post: http://forums.java.net/node/891165