create a factory from a list of properties and
HibernatePersistence.CLASS_NAMES -> Collection (use to list the classes from config files
HibernatePersistence.PACKAGE_NAMES -> Collection (use to list the mappings from config files
HibernatePersistence.HBXML_FILES -> Collection (input streams of hbm files)
HibernatePersistence.LOADED_CLASSES -> Collection (list of loaded classes)
Used by JBoss AS only
Filter a Java element (class or package per fully qualified name and annotation existence)
At least 1 annotation has to annotate the element and the accept method must match
If none annotations are passed, only the accept method must pass.