|
Oracle Corporation | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectcom.bea.wlcp.wlng.api.work.WorkManagerFactory
Factory for using the commonj.work api. Work managers should typically be defined in META-INF/weblogic-application.xml of the EAR.
Example usage
WorkManager wm = WorkManagerFactory.getFactory().getWorkManager("my_work_mgr");
WorkItem wi = wm.scheduleWork(work, listener);
See also http://e-docs.bea.com/wls/docs100/javadocs/index.html?commonj/work/package-summary.html
| Constructor Summary | |
WorkManagerFactory()
|
|
| Method Summary | |
static WorkManagerFactory |
getFactory()
Retrieves the fatory |
abstract Work |
getTransactionalWork(Work work)
Wraps a transaction around a work. |
abstract WorkManager |
getWorkManager(String name)
Retrieves a commonj.work.WorkManager. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WorkManagerFactory()
| Method Detail |
public static WorkManagerFactory getFactory()
public abstract Work getTransactionalWork(Work work)
work - The work to wrap.public abstract WorkManager getWorkManager(String name)
name - This is the name of a predefined work manager. If name is null
or there is no work manager defined the default work manager will be used.
|
Oracle Corporation | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||