|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.jdo.api.persistence.model.ClassLoaderStrategy
public class ClassLoaderStrategy
| Field Summary | |
|---|---|
static String |
MULTIPLE_CLASS_LOADERS_ERROR
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 String |
MULTIPLE_CLASS_LOADERS_IGNORE
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 String |
MULTIPLE_CLASS_LOADERS_RELOAD
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 String |
PROPERTY_MULTIPLE_CLASS_LOADERS
System property key used to define the model behavior concerning multiple class loaders. |
| Constructor Summary | |
|---|---|
ClassLoaderStrategy()
|
|
| Method Summary | |
|---|---|
static String |
getStrategy()
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 |
| Field Detail |
|---|
public static final String PROPERTY_MULTIPLE_CLASS_LOADERS
MULTIPLE_CLASS_LOADERS_IGNORE,
MULTIPLE_CLASS_LOADERS_RELOAD, or
MULTIPLE_CLASS_LOADERS_ERROR
public static final String MULTIPLE_CLASS_LOADERS_IGNORE
RuntimeModel.findClassLoader(java.lang.String, java.lang.ClassLoader),
Constant Field Valuespublic static final String MULTIPLE_CLASS_LOADERS_RELOAD
RuntimeModel.findClassLoader(java.lang.String, java.lang.ClassLoader),
Constant Field Valuespublic static final String MULTIPLE_CLASS_LOADERS_ERROR
RuntimeModel.findClassLoader(java.lang.String, java.lang.ClassLoader),
Constant Field Values| Constructor Detail |
|---|
public ClassLoaderStrategy()
| Method Detail |
|---|
public static String getStrategy()
PROPERTY_MULTIPLE_CLASS_LOADERS used to define the model
behavior concerning multiple class loaders.
MULTIPLE_CLASS_LOADERS_IGNORE,
MULTIPLE_CLASS_LOADERS_RELOAD, or
MULTIPLE_CLASS_LOADERS_ERRORpublic static void setStrategy(String strategy)
PROPERTY_MULTIPLE_CLASS_LOADERS used to define the model
behavior concerning multiple class loaders.
strategy - the new value of the property. Value should be one of
MULTIPLE_CLASS_LOADERS_IGNORE,
MULTIPLE_CLASS_LOADERS_RELOAD, or
MULTIPLE_CLASS_LOADERS_ERRORRuntimeModel.findClassLoader(java.lang.String, java.lang.ClassLoader)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||