org.jbpm.wire.binding
Class HibernateSessionFactoryBinding

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

public class HibernateSessionFactoryBinding
extends HibernateConfigurationBinding

builds a hibernate session factory from a configuration. The configuration can be referenced by name with the configuration attribute. Alternatively, the configuration can be specified inline in the hibernate session element just like with the HibernateConfigurationBinding.

Author:
Tom Baeyens

Constructor Summary
HibernateSessionFactoryBinding()
           
 
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

HibernateSessionFactoryBinding

public HibernateSessionFactoryBinding()
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
Overrides:
parse in class HibernateConfigurationBinding
Returns:
the domain model java object.
See Also:
Parser