com.mizar.persistence.jpa.customizers
Class ReadOnlyCustomizer

java.lang.Object
  extended by com.mizar.persistence.jpa.customizers.ReadOnlyCustomizer
All Implemented Interfaces:
org.eclipse.persistence.config.DescriptorCustomizer

public class ReadOnlyCustomizer
extends java.lang.Object
implements org.eclipse.persistence.config.DescriptorCustomizer


Constructor Summary
ReadOnlyCustomizer()
           
 
Method Summary
 void customize(org.eclipse.persistence.descriptors.ClassDescriptor desc)
          Reference in persistence.xml as <property name="eclipselink.descriptor.customizer.Classname" value="com.mizar.javax.persistence.ReadOnlyCustomizer"/>
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReadOnlyCustomizer

public ReadOnlyCustomizer()
Method Detail

customize

public void customize(org.eclipse.persistence.descriptors.ClassDescriptor desc)
               throws java.lang.Exception
Reference in persistence.xml as <property name="eclipselink.descriptor.customizer.Classname" value="com.mizar.javax.persistence.ReadOnlyCustomizer"/>

Specified by:
customize in interface org.eclipse.persistence.config.DescriptorCustomizer
Parameters:
desc - passed by EntityManagerSetupImpl.processDescriptorCustomizers()
Throws:
java.lang.Exception