public class BaseConfigIntrospector extends AbstractConfigIntrospector
Constructor and Description |
---|
BaseConfigIntrospector(AmberConfigManager manager)
Creates the introspector.
|
Modifier and Type | Method and Description |
---|---|
void |
configureDependencies()
Completes all partial bean introspection.
|
void |
configureLinks()
Completes all partial bean introspection.
|
EntityConfig |
getEntityConfig(java.lang.String className)
Returns the entity config for a class name.
|
static JoinColumn |
getJoinColumn(JoinColumn[] columnsAnn,
java.lang.String keyName) |
static JoinColumn |
getJoinColumn(JoinColumns joinColumns,
java.lang.String keyName) |
static PrimaryKeyJoinColumn |
getJoinColumn(PrimaryKeyJoinColumn[] columnsAnn,
java.lang.String keyName) |
MappedSuperclassConfig |
getMappedSuperclassConfig(java.lang.String className)
Returns the mapped superclass config for a class name.
|
void |
initMetaData(java.util.ArrayList<EntityMappingsConfig> entityMappingsList,
AmberPersistenceUnit persistenceUnit)
Initializes the persistence unit meta data:
default listeners and so on.
|
void |
introspectCallbacks(AbstractEnhancedType type,
java.lang.reflect.Method method)
Introspects the callbacks.
|
void |
introspectCallbacks(java.lang.Class type,
EntityType entityType)
Introspects the callbacks.
|
void |
introspectDefaultListener(EntityListenerConfig listener,
AmberPersistenceUnit persistenceUnit) |
void |
introspectEntityListener(java.lang.Class type,
AmberPersistenceUnit persistenceUnit,
EntityType sourceType,
java.lang.String sourceClassName) |
void |
introspectEntityListeners(java.lang.Class type,
EntityType entityType,
AmberPersistenceUnit persistenceUnit) |
void |
introspectListener(java.lang.Class type,
ListenerType listenerType) |
void |
setEntityMappingsList(java.util.ArrayList<EntityMappingsConfig> entityMappingsList)
Sets the entity mappings list.
|
loc, loc, toSqlName, validateConstructor, validateNonGetter, validateType
public BaseConfigIntrospector(AmberConfigManager manager)
public void setEntityMappingsList(java.util.ArrayList<EntityMappingsConfig> entityMappingsList)
public EntityConfig getEntityConfig(java.lang.String className)
public MappedSuperclassConfig getMappedSuperclassConfig(java.lang.String className)
public void initMetaData(java.util.ArrayList<EntityMappingsConfig> entityMappingsList, AmberPersistenceUnit persistenceUnit) throws ConfigException
ConfigException
public void introspectDefaultListener(EntityListenerConfig listener, AmberPersistenceUnit persistenceUnit) throws ConfigException
ConfigException
public void introspectEntityListeners(java.lang.Class type, EntityType entityType, AmberPersistenceUnit persistenceUnit) throws ConfigException
ConfigException
public void introspectEntityListener(java.lang.Class type, AmberPersistenceUnit persistenceUnit, EntityType sourceType, java.lang.String sourceClassName) throws ConfigException
ConfigException
public void introspectListener(java.lang.Class type, ListenerType listenerType) throws ConfigException
ConfigException
public void introspectCallbacks(java.lang.Class type, EntityType entityType) throws ConfigException
ConfigException
public void introspectCallbacks(AbstractEnhancedType type, java.lang.reflect.Method method) throws ConfigException
ConfigException
public void configureLinks() throws ConfigException
ConfigException
public void configureDependencies() throws ConfigException
ConfigException
public static JoinColumn getJoinColumn(JoinColumns joinColumns, java.lang.String keyName)
public static JoinColumn getJoinColumn(JoinColumn[] columnsAnn, java.lang.String keyName)
public static PrimaryKeyJoinColumn getJoinColumn(PrimaryKeyJoinColumn[] columnsAnn, java.lang.String keyName)