/**
This enhancer is used by the client container to enhance client classes.
For example, it will allow to use @EJB annotations, etc.
author: Florent Benoit
Creates an new enhancer.
Parameters: loader - classloader where to define enhanced classes. Parameters: ejbJarAnnotationMetadata - object with references to the metadata. Parameters: map - a map allowing to give some objects to the enhancer.
Allow to enhance a given set of classes.
Parameters: loader - the classloader that will be used to load the classes. Parameters: classesToEnhance - the set of classes to enhance Parameters: map - a map allowing to give some objects to the enhancer. throws: EnhancerException - if enhancer fails