/**
  * Returns a new annotation instance for the passed reflection class.
  *
  * @param \AppserverIo\Lang\Reflection\ClassInterface $reflectionClass The reflection class with the bean configuration
  *
  * @return \AppserverIo\Lang\Reflection\AnnotationInterface The reflection annotation
  */
 protected function newAnnotationInstance(ClassInterface $reflectionClass)
 {
     return $reflectionClass->getAnnotation(MessageDriven::ANNOTATION);
 }
 /**
  * Returns a new annotation instance for the passed reflection class.
  *
  * @param \AppserverIo\Lang\Reflection\ClassInterface $reflectionClass The reflection class with the bean configuration
  *
  * @return \AppserverIo\Lang\Reflection\AnnotationInterface The reflection annotation
  */
 protected function newAnnotationInstance(ClassInterface $reflectionClass)
 {
     return $reflectionClass->getAnnotation(Stateless::ANNOTATION);
 }