|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.wli.worklist.api.WorklistContextFactory
public class WorklistContextFactory
Factory for obtaining instances of WorklistContext
Constructor Summary | |
---|---|
WorklistContextFactory()
|
Method Summary | |
---|---|
static Interval |
createInterval(String intervalSpec)
Create a new Interval instance for setting task or step time estimates. |
static TaskDataIterator |
createTaskDataIterator(TaskDataCursor cursor,
WorklistContext context)
Create a new TaskDataIterator instance given a TaskDataCursor returned from a prior call to WorklistTaskQuery.getTaskDataCursor() or getTaskDataCursorWithAffinity(). |
static ObjectName |
getObjectNameForWorklistAdminMBean()
|
static ObjectName |
getObjectNameForWorklistSystemMBean(String appName)
|
static ObjectName |
getObjectNameForWorklistSystemRuntimeMBean(String appName)
|
static ObjectName |
getObjectNameForWorkSubstituteMBean()
|
static WorklistContext |
getRemoteWorklistContext(Context jndiContext)
Get a WorklistContext instance that is focused on worklist artifacts deployed globally to the server represented by jndiContext. |
static WorklistContext |
getRemoteWorklistContext(Context jndiContext,
String appName)
Get a WorklistContext instance that is focused on worklist artifacts deployed to the server represented by jndiContext and within the application given by appName. |
static WorkSubstituteManager |
getRemoteWorkSubstituteManager(Context jndiContext)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WorklistContextFactory()
Method Detail |
---|
public static WorklistContext getRemoteWorklistContext(Context jndiContext) throws ManagementException
jndiContext
- The JNDI context to the desired WebLogic server
ManagementException
- If any error occurs establishing the context.public static WorklistContext getRemoteWorklistContext(Context jndiContext, String appName) throws ManagementException
jndiContext
- The JNDI context to the desired WebLogic serverappName
- The name of the application within which the desired
worklist artifacts have been deployed. If null, this method will
assume that worklist services are deployed globally on the given
server and will use a default name for the appName parameter.
ManagementException
- If any error occurs establishing the context.public static WorkSubstituteManager getRemoteWorkSubstituteManager(Context jndiContext) throws ManagementException
ManagementException
public static ObjectName getObjectNameForWorklistAdminMBean()
public static ObjectName getObjectNameForWorklistSystemMBean(String appName)
public static ObjectName getObjectNameForWorklistSystemRuntimeMBean(String appName)
public static ObjectName getObjectNameForWorkSubstituteMBean()
public static Interval createInterval(String intervalSpec) throws ManagementException
intervalSpec
- is a string describing the interval in the format
described in the Interval interface.
ManagementException
Interval
public static TaskDataIterator createTaskDataIterator(TaskDataCursor cursor, WorklistContext context) throws ManagementException
cursor
- The TaskDataCursor to wrap in an iteratorcontext
- The WorklistContext the iterator should use to
manipulate the underlying cursor.
ManagementException
WorklistTaskQuery.getTaskDataCursor(TaskQuery, int)
,
WorklistTaskQuery.getTaskDataCursorWithAffinity(TaskQuery, int)
,
TaskDataCursor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |