EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.jpa.rs.util
Class ConcreteSubclassFactory

java.lang.Object
  extended by 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
ConcreteSubclassFactory(java.lang.Class clazz)
          Instantiates a new concrete subclass factory.
 
Method Summary
 java.lang.Object createConcreteSubclass()
          Creates a new ConcreteSubclass object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConcreteSubclassFactory

public ConcreteSubclassFactory(java.lang.Class clazz)
Instantiates a new concrete subclass factory.

Parameters:
clazz - the clazz
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 exception
java.lang.IllegalAccessException - the illegal access exception

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference