public class HooksLifecycleHibInitBean extends HooksBean
bean to hold objects for hibernate init (add mappings here). To add a mapping, call configuration.addResource(path); where path is something like this: some/package/here/Mapping.hbm.xml
Modifier and Type | Field and Description |
---|---|
static String |
FIELD_CONFIGURATION
constant for field name for: configuration
|
Constructor and Description |
---|
HooksLifecycleHibInitBean() |
HooksLifecycleHibInitBean(org.hibernate.cfg.Configuration theConfiguration) |
Modifier and Type | Method and Description |
---|---|
HooksLifecycleHibInitBean |
clone()
deep clone the fields in this object
|
org.hibernate.cfg.Configuration |
getConfiguration()
hibernate configuration
|
public static final String FIELD_CONFIGURATION
public HooksLifecycleHibInitBean()
public HooksLifecycleHibInitBean(org.hibernate.cfg.Configuration theConfiguration)
theConfiguration
- is the configurationpublic org.hibernate.cfg.Configuration getConfiguration()
public HooksLifecycleHibInitBean clone()
clone
in interface GrouperCloneable
clone
in class HooksBean
Object.clone()
Copyright © 2016 Internet2. All rights reserved.