public function loadClassMetadata(EventArgs $eventArgs)
    {
        if ( ! $eventArgs instanceof CommonEventArgs
            && ! $eventArgs instanceof OrmEventArgs
        ) {
            throw InvalidArgumentException::create(
                'Doctrine\Common\Persistence\Event\LoadClassMetadataEventArgs',
                $eventArgs
            );
        }
        $ea = $this->getEventAdapter($eventArgs);
        $this->loadMetadataForObjectClass($ea->getObjectManager(), $eventArgs->getClassMetadata());
    }