public function attachShared(SharedEventManagerInterface $sharedEm)
    {
        $this->listeners[] = $sharedEm->attach($this->entityFormClass, 'init', array($this, 'onEntityFormInit'));
        $this->listeners[] = $sharedEm->attach($this->entityFormClass, 'setData', array($this, 'onEntityFormSetData'));
        $this->listeners[] = $sharedEm->attach($this->entityInputFilterClass, 'init', array($this, 'onEntityInputFilterInit'));
        $this->listeners[] = $sharedEm->attach($this->entityServiceClass, 'persist', array($this, 'onEntityServicePersist'));
    }