FileDocCategorySizeDatePackage
WorkManager.javaAPI DocGlassfish v2 API2963Fri May 04 22:30:30 BST 2007com.sun.enterprise.jbi.serviceengine.work

WorkManager

public interface WorkManager
Work Manager interface for JBI Service Engine.
author
Binod PG

Fields Summary
Constructors Summary
Methods Summary
public com.sun.enterprise.jbi.serviceengine.comm.MessageAcceptorgetMessageAcceptor()
Retrieve the MessageAcceptor object in use by this work manager.

public java.lang.StringgetPoolName()
Return the name of threadpool used by this work manager.

public voidsetPoolName(java.lang.String poolName)
Set the name of threadpool used by this work manager.

public voidstartAcceptor()
Start the acceptor thread of the work manager.

public voidstop()
Stop the activities of the work manager.

public voidsubmitWork(OneWork work)
Submit a work to the queue of thread pool.