Package de.hybris.platform.cockpit.util
Class HybrisThreadCleanup
java.lang.Object
de.hybris.platform.cockpit.util.HybrisThreadCleanup
- All Implemented Interfaces:
org.zkoss.zk.ui.event.EventThreadCleanup
Hybris specific cleanup class which is called when leaving a ZK event processing thread.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDe-activates hybris specific threadlocal settings within a zk event processing thread.voidcomplete(org.zkoss.zk.ui.Component comp, org.zkoss.zk.ui.event.Event evt) Called back in the main thread after a zk event thread has been processed.
-
Constructor Details
-
HybrisThreadCleanup
public HybrisThreadCleanup()
-
-
Method Details
-
cleanup
public void cleanup(org.zkoss.zk.ui.Component comp, org.zkoss.zk.ui.event.Event evt, List errs) throws Exception De-activates hybris specific threadlocal settings within a zk event processing thread. By now it deactivates the event thread's jalo session and unsets the current tenant.- Specified by:
cleanupin interfaceorg.zkoss.zk.ui.event.EventThreadCleanup- Throws:
Exception
-
complete
public void complete(org.zkoss.zk.ui.Component comp, org.zkoss.zk.ui.event.Event evt) throws Exception Called back in the main thread after a zk event thread has been processed. Does nothing right now.- Specified by:
completein interfaceorg.zkoss.zk.ui.event.EventThreadCleanup- Throws:
Exception
-