Package org.openxava.component.parse
Class AnnotatedClassParser
java.lang.Object
org.openxava.component.parse.AnnotatedClassParser
- All Implemented Interfaces:
IComponentParser
Parse EJB3 Entities (POJOs with JPA annotations) into OpenXava components.
- Author:
- Javier Paniza
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MetaValidatorcreateEntityValidator(EntityValidator validator) Creates a MetaValidator for entity validation from a EntityValidator annotation.static MetaValidatorcreatePropertyValidator(PropertyValidator validator) Creates a MetaValidator for property validation from a PropertyValidator annotation.static Collection<String>static Collection<String>Explores the filesystem where the classes are, instead of using a Hibernate connection.static boolean
-
Constructor Details
-
AnnotatedClassParser
public AnnotatedClassParser()
-
-
Method Details
-
parse
- Specified by:
parsein interfaceIComponentParser- Throws:
Exception
-
getPersistenceProvider
- Specified by:
getPersistenceProviderin interfaceIComponentParser
-
createEntityValidator
Creates a MetaValidator for entity validation from a EntityValidator annotation. -
createPropertyValidator
Creates a MetaValidator for property validation from a PropertyValidator annotation. -
getManagedClassNamesFromFileClassPath
Explores the filesystem where the classes are, instead of using a Hibernate connection.- Since:
- 7.5 Before it was called friendMetaApplicationGetManagedClassNames()
-
getManagedClassNames
-
isForView
- Since:
- 7.4
-