code: @Override
      public void setEnterpriseBean(Object bean)
      {
          super.setEnterpriseBean(bean);
          if (bean instanceof SessionSynchronization) {
              sessionSync = (SessionSynchronization) bean;
          }
      }
docs: CMStatefulBeanO