public class MapComponentRegistry
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
MapComponentRegistry.IMapComponentRegistryListener |
static class |
MapComponentRegistry.MapComponentRegistryEventType |
| Modifier and Type | Method and Description |
|---|---|
static void |
addMapComponentRegistryListener(MapComponentRegistry.IMapComponentRegistryListener listener) |
MapComponentType |
findComponentType(java.lang.String typeName)
Get the registered type for the specified name.
|
MapComponentType |
findComponentTypeByGlobalId(java.lang.String globalId)
Get the registered type for the specified name.
|
java.util.List |
getAvailableComponentTypes() |
java.util.Map |
getComponentTypeMap()
Get a hash map that contains all available component types.
|
static MapComponentType.uidef |
getUIDef(java.lang.String name)
Return a ui definition object for the specified component type name.
|
void |
loadComponentTypeDef(AdapterBase adapter,
java.lang.String pathName,
boolean staticCacheOnly)
Load a component definition XML file from the specified path name.
|
void |
loadComponentTypeDef(AdapterBase adapter,
java.lang.String resourceName,
boolean isResource,
boolean staticCacheOnly)
Load a component definition XML file resource that can be found in the current JVM classpath.
|
void |
loadComponentTypeDef(java.lang.String pathName)
Load a component definition XML file from the specified path name.
|
void |
loadComponentTypeDef(java.lang.String pathName,
boolean staticCacheOnly)
Load a component definition XML file from the specified path name.
|
void |
loadComponentTypeDef(java.lang.String resourceName,
boolean isResource,
boolean staticCacheOnly)
Load a component definition XML file resource that can be found in the current JVM classpath.
|
static void |
notifyMapComponentRegistryListeners(MapComponentRegistry.MapComponentRegistryEventType eventType,
MapComponentType type) |
void |
removeComponentType(MapComponentType type)
Remove the specified component type from the repository.
|
public static void addMapComponentRegistryListener(MapComponentRegistry.IMapComponentRegistryListener listener)
public static void notifyMapComponentRegistryListeners(MapComponentRegistry.MapComponentRegistryEventType eventType, MapComponentType type)
public static MapComponentType.uidef getUIDef(java.lang.String name)
name - public java.util.Map getComponentTypeMap()
public void removeComponentType(MapComponentType type) throws MappingException
type - The component type to remove.MappingExceptionpublic java.util.List getAvailableComponentTypes()
public MapComponentType findComponentType(java.lang.String typeName) throws PropertyException
typeName - AdapterExceptionPropertyExceptionoracle.odi.domain.mapping.exception.MapComponentExceptionpublic MapComponentType findComponentTypeByGlobalId(java.lang.String globalId) throws PropertyException
globalId - The global id (GUID or UUID) of the component type.AdapterExceptionPropertyExceptionoracle.odi.domain.mapping.exception.MapComponentExceptionpublic void loadComponentTypeDef(AdapterBase adapter,
java.lang.String resourceName,
boolean isResource,
boolean staticCacheOnly)
resourceName - The name of the resource, qualified by package name.isResource - public void loadComponentTypeDef(java.lang.String resourceName,
boolean isResource,
boolean staticCacheOnly)
resourceName - The name of the resource, qualified by package name.isResource - public void loadComponentTypeDef(AdapterBase adapter,
java.lang.String pathName,
boolean staticCacheOnly)
pathName - The full path name where the XML file resides.public void loadComponentTypeDef(java.lang.String pathName,
boolean staticCacheOnly)
pathName - The full path name where the XML file resides.public void loadComponentTypeDef(java.lang.String pathName)
pathName - The full path name where the XML file resides.