Class WorkflowPushController
java.lang.Object
java.lang.Thread
de.hybris.platform.core.threadregistry.RegistrableThread
de.hybris.platform.cockpit.session.impl.AbstractPushController
de.hybris.platform.cockpit.session.impl.WorkflowPushController
- All Implemented Interfaces:
PushController,Runnable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsFields inherited from class de.hybris.platform.cockpit.session.impl.AbstractPushController
DEFAULT_DELAY, PARAM_UPDATE_INTERVAL, paramsFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
ConstructorsConstructorDescriptionWorkflowPushController(int updateInterval) WorkflowPushController(PushComponent component) WorkflowPushController(PushComponent component, int updateInterval) -
Method Summary
Methods inherited from class de.hybris.platform.cockpit.session.impl.AbstractPushController
addEvent, getComponent, getDesktop, getParameters, getSession, getUpdateInterval, getWebApplicationContext, internalRun, isDone, setComponent, setDone, setParameters, setUpdateInterval, startController, toStringMethods inherited from class de.hybris.platform.core.threadregistry.RegistrableThread
registerThread, run, unregisterThread, withInitialInfoMethods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, yield
-
Field Details
-
PARAM_ATT_CLASS_NAMES
- See Also:
-
-
Constructor Details
-
WorkflowPushController
public WorkflowPushController() -
WorkflowPushController
public WorkflowPushController(int updateInterval) -
WorkflowPushController
-
WorkflowPushController
-
-
Method Details
-
after
protected void after()- Specified by:
afterin classAbstractPushController
-
before
protected void before()- Specified by:
beforein classAbstractPushController
-
isUpdateNeeded
public boolean isUpdateNeeded()Description copied from interface:PushControllerReturns whether an update is required or not.- Returns:
trueif an update is needed,falseotherwise- See Also:
-
update
public void update()Description copied from interface:PushControllerCalled whenever an update is needed i.e. whenPushController.isUpdateNeeded()has returnedtrue. Typically createsCockpitEvents and adds them to a special event queue by calling thePushComponent.addEvent(CockpitEvent)method on thePushComponentreturned byPushController.getComponent(). -
getAttachmentClassNames
-
loadParameters
protected void loadParameters()- Overrides:
loadParametersin classAbstractPushController
-