org.jbpm.wire.binding
Class HibernateConfigurationBinding

java.lang.Object
  extended by org.jbpm.wire.binding.HibernateConfigurationBinding
All Implemented Interfaces:
Binding
Direct Known Subclasses:
HibernateSessionFactoryBinding

public class HibernateConfigurationBinding
extends java.lang.Object
implements Binding

builds a hibernate configuration.

Attribute class is optional and the default is set to org.hibernate.cfg.Configuration. Alternative configuration class names could be org.hibernate.cfg.AnnotationConfiguration or an org.hibernate.ejb3.Ejb3Configuration.

mapping elements can refer to mapping resource files by means of the following attributes:

A properties element can specify hibernate configuration properties like specified in PropertiesBinding.

Author:
Tom Baeyens

Constructor Summary
HibernateConfigurationBinding()
           
 
Method Summary
 java.lang.Object parse(org.w3c.dom.Element element, Parse parse, Parser parser)
          translates the given element into a domain model java object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HibernateConfigurationBinding

public HibernateConfigurationBinding()
Method Detail

parse

public java.lang.Object parse(org.w3c.dom.Element element,
                              Parse parse,
                              Parser parser)
Description copied from interface: Binding
translates the given element into a domain model java object. Use the parse to report problems.

Specified by:
parse in interface Binding
Returns:
the domain model java object.
See Also:
Parser