Class ConcreteSubclassFactory
java.lang.Object
org.eclipse.persistence.jpa.rs.util.ConcreteSubclassFactory
Factory class to create concrete subclasses of abstract classes.
This class is used in JPA-RS JAXB mappings to create InstantiationPolicy for abstract classes
- See Also:
- Author:
- gonural
-
Constructor Summary
ConstructorDescriptionConcreteSubclassFactory
(Class clazz) Instantiates a new concrete subclass factory. -
Method Summary
Modifier and TypeMethodDescriptionCreates a new ConcreteSubclass object.
-
Constructor Details
-
ConcreteSubclassFactory
Instantiates a new concrete subclass factory.- Parameters:
clazz
- the clazz
-
-
Method Details
-
createConcreteSubclass
Creates a new ConcreteSubclass object.- Returns:
- the object
- Throws:
ReflectiveOperationException
- for errors
-