Class HybrisRunnable

  • All Implemented Interfaces:
    java.lang.Runnable

    public class HybrisRunnable
    extends java.lang.Object
    implements java.lang.Runnable
    Reusable wrapper around a Runnable setting up the required hybris context information (Session, Tenant etc.)
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HybrisRunnable

        public HybrisRunnable​(java.lang.Runnable runnable)
      • HybrisRunnable

        public HybrisRunnable​(java.lang.Runnable runnable,
                              SessionContext ctx)
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable