edu.internet2.middleware.grouper.hooks.beans
Class HooksLifecycleHibInitBean
java.lang.Object
edu.internet2.middleware.grouper.hooks.beans.HooksBean
edu.internet2.middleware.grouper.hooks.beans.HooksLifecycleHibInitBean
- All Implemented Interfaces:
- GrouperCloneable
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
Field Summary |
static java.lang.String |
FIELD_CONFIGURATION
constant for field name for: configuration |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FIELD_CONFIGURATION
public static final java.lang.String FIELD_CONFIGURATION
- constant for field name for: configuration
- See Also:
- Constant Field Values
HooksLifecycleHibInitBean
public HooksLifecycleHibInitBean()
HooksLifecycleHibInitBean
public HooksLifecycleHibInitBean(org.hibernate.cfg.Configuration theConfiguration)
- Parameters:
theConfiguration
- is the configuration
getConfiguration
public org.hibernate.cfg.Configuration getConfiguration()
- hibernate configuration
- Returns:
- the configuration
clone
public HooksLifecycleHibInitBean clone()
- deep clone the fields in this object
- Specified by:
clone
in interface GrouperCloneable
- Specified by:
clone
in class HooksBean
- Returns:
- the clone of the object
- See Also:
Object.clone()