Class ClassLoaderStrategy

java.lang.Object
com.sun.jdo.api.persistence.model.ClassLoaderStrategy

public class ClassLoaderStrategy extends Object
Version:
%I%
Author:
mvatkina
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Constant representing the value "error" of the System property com.sun.jdo.api.persistence.model.multipleClassLoaders Setting the system property to "reload" causes the model to throw an exception if the same class is used with a diferent class loader.
    static final String
    Constant representing the value "ignore" of the System property com.sun.jdo.api.persistence.model.multipleClassLoaders Setting the system property to "ignore" causes the model to ignore any new class loader for the same fully qualified class name.
    static final String
    Constant representing the value "reload" of the System property com.sun.jdo.api.persistence.model.multipleClassLoaders Setting the system property to "reload" causes the model to reload the class mapping if it is specified with a new class loader.
    static final String
    System property key used to define the model behavior concerning multiple class loaders.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    Get the value of the property PROPERTY_MULTIPLE_CLASS_LOADERS used to define the model behavior concerning multiple class loaders.
    static void
    setStrategy(String strategy)
    Sets the value of the property PROPERTY_MULTIPLE_CLASS_LOADERS used to define the model behavior concerning multiple class loaders.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait