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
public class HybrisThreadCleanup extends java.lang.Object implements org.zkoss.zk.ui.event.EventThreadCleanupHybris specific cleanup class which is called when leaving a ZK event processing thread.
-
-
Constructor Summary
Constructors Constructor Description HybrisThreadCleanup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanup(org.zkoss.zk.ui.Component comp, org.zkoss.zk.ui.event.Event evt, java.util.List errs)De-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.
-
-
-
Method Detail
-
cleanup
public void cleanup(org.zkoss.zk.ui.Component comp, org.zkoss.zk.ui.event.Event evt, java.util.List errs) throws java.lang.ExceptionDe-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:
java.lang.Exception
-
complete
public void complete(org.zkoss.zk.ui.Component comp, org.zkoss.zk.ui.event.Event evt) throws java.lang.ExceptionCalled 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:
java.lang.Exception
-
-