Class ConcreteSubclassFactory
- java.lang.Object
-
- org.eclipse.persistence.jpa.rs.util.ConcreteSubclassFactory
-
public class ConcreteSubclassFactory extends java.lang.Object
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:
PreLoginMappingAdapter
- Author:
- gonural
-
-
Constructor Summary
Constructors Constructor Description ConcreteSubclassFactory(java.lang.Class clazz)
Instantiates a new concrete subclass factory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
createConcreteSubclass()
Creates a new ConcreteSubclass object.
-
-
-
Method Detail
-
createConcreteSubclass
public java.lang.Object createConcreteSubclass() throws java.lang.InstantiationException, java.lang.IllegalAccessException
Creates a new ConcreteSubclass object.- Returns:
- the object
- Throws:
java.lang.InstantiationException
- the instantiation exceptionjava.lang.IllegalAccessException
- the illegal access exception
-
-