Class HooksLifecycleHibInitBean
java.lang.Object
edu.internet2.middleware.grouper.hooks.beans.HooksBean
edu.internet2.middleware.grouper.hooks.beans.HooksLifecycleHibInitBean
- All Implemented Interfaces:
GrouperCloneable
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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
deep clone the fields in this objectorg.hibernate.cfg.Configuration
hibernate configuration
-
Field Details
-
FIELD_CONFIGURATION
constant for field name for: configuration- See Also:
-
-
Constructor Details
-
HooksLifecycleHibInitBean
public HooksLifecycleHibInitBean() -
HooksLifecycleHibInitBean
public HooksLifecycleHibInitBean(org.hibernate.cfg.Configuration theConfiguration) - Parameters:
theConfiguration
- is the configuration
-
-
Method Details
-
getConfiguration
public org.hibernate.cfg.Configuration getConfiguration()hibernate configuration- Returns:
- the configuration
-
clone
deep clone the fields in this object- Specified by:
clone
in interfaceGrouperCloneable
- Specified by:
clone
in classHooksBean
- Returns:
- the clone of the object
- See Also:
-