edu.internet2.middleware.grouper.hooks.beans
Class HooksLifecycleHibInitBean

java.lang.Object
  extended by edu.internet2.middleware.grouper.hooks.beans.HooksBean
      extended by 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 String FIELD_CONFIGURATION
          constant for field name for: configuration
 
Constructor Summary
HooksLifecycleHibInitBean()
           
HooksLifecycleHibInitBean(org.hibernate.cfg.Configuration theConfiguration)
           
 
Method Summary
 HooksLifecycleHibInitBean clone()
          deep clone the fields in this object
 org.hibernate.cfg.Configuration getConfiguration()
          hibernate configuration
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIELD_CONFIGURATION

public static final String FIELD_CONFIGURATION
constant for field name for: configuration

See Also:
Constant Field Values
Constructor Detail

HooksLifecycleHibInitBean

public HooksLifecycleHibInitBean()

HooksLifecycleHibInitBean

public HooksLifecycleHibInitBean(org.hibernate.cfg.Configuration theConfiguration)
Parameters:
theConfiguration - is the configuration
Method Detail

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()