Class ProjoInstantiationPolicy

java.lang.Object
org.eclipse.persistence.internal.core.descriptors.CoreInstantiationPolicy
org.eclipse.persistence.internal.descriptors.InstantiationPolicy
pro.projo.jaxrs.jersey.moxy.ProjoInstantiationPolicy
All Implemented Interfaces:
Serializable, Cloneable

public class ProjoInstantiationPolicy
extends org.eclipse.persistence.internal.descriptors.InstantiationPolicy
ProjoInstantiationPolicy is a custom InstantiationPolicy that will create a Projo object when the descriptor's target type is an interface.
Author:
Mirko Raner
See Also:
Serialized Form
  • Field Summary

    Fields inherited from class org.eclipse.persistence.internal.descriptors.InstantiationPolicy

    descriptor, factory, factoryClass, factoryClassName, factoryMethodName, method, methodName
  • Constructor Summary

    Constructors 
    Constructor Description
    ProjoInstantiationPolicy()  
  • Method Summary

    Modifier and Type Method Description
    Object buildNewInstance()  

    Methods inherited from class org.eclipse.persistence.internal.descriptors.InstantiationPolicy

    buildDefaultConstructor, buildDefaultConstructorFor, buildFactory, buildFactoryDefaultConstructor, buildFactoryUsingDefaultConstructor, buildFactoryUsingStaticMethod, buildMethod, buildNewInstanceUsingDefaultConstructor, buildNewInstanceUsingFactory, clone, convertClassNamesToClasses, getDefaultConstructor, getDescriptor, getFactory, getFactoryClass, getFactoryClassName, getFactoryMethodName, getMethod, getMethodName, initialize, initializeMethod, isUsingDefaultConstructor, setDefaultConstructor, setDescriptor, setFactory, setFactoryClass, setFactoryClassName, setFactoryMethodName, setMethod, setMethodName, toString, useDefaultConstructorInstantiationPolicy, useFactoryInstantiationPolicy, useFactoryInstantiationPolicy, useFactoryInstantiationPolicy, useFactoryInstantiationPolicy, useFactoryInstantiationPolicy, useMethodInstantiationPolicy

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • buildNewInstance

      public Object buildNewInstance() throws org.eclipse.persistence.exceptions.DescriptorException
      Overrides:
      buildNewInstance in class org.eclipse.persistence.internal.descriptors.InstantiationPolicy
      Throws:
      org.eclipse.persistence.exceptions.DescriptorException