|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.datanucleus.store.mapped.MappedTypeManager
public class MappedTypeManager
Registry of java type mapping support. Provides a lookup between java type and the mapping to use for that type. Uses the plugin mechanism extension-point "org.datanucleus.store_mapping".
| Field Summary | |
|---|---|
protected ClassLoaderResolver |
clr
|
protected NucleusContext |
nucleusCtx
|
| Constructor Summary | |
|---|---|
MappedTypeManager(NucleusContext nucleusCtx)
Constructor, loading support for type mappings using the plugin mechanism. |
|
| Method Summary | |
|---|---|
protected org.datanucleus.store.mapped.MappedTypeManager.MappedType |
findMappedTypeForClass(Class cls)
|
protected org.datanucleus.store.mapped.MappedTypeManager.MappedType |
getMappedType(String className)
Utility class to retrieve a supported type |
Class |
getMappingType(String className)
Accessor for the Java Mapping type class for the supplied class. |
boolean |
isSupportedMappedType(String className)
Accessor for whether a class is supported as being mappable. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final NucleusContext nucleusCtx
protected final ClassLoaderResolver clr
| Constructor Detail |
|---|
public MappedTypeManager(NucleusContext nucleusCtx)
nucleusCtx - Context in use| Method Detail |
|---|
public boolean isSupportedMappedType(String className)
className - The class name
public Class getMappingType(String className)
className - The class name
protected org.datanucleus.store.mapped.MappedTypeManager.MappedType findMappedTypeForClass(Class cls)
protected org.datanucleus.store.mapped.MappedTypeManager.MappedType getMappedType(String className)
className - The class name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||