org.jbpm.wire.binding
Class EnlistBinding

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

public class EnlistBinding
extends java.lang.Object
implements Binding

This Binding specifies an EnlistOperation. The object on which this operation is applied will be added to the list of resource linked to the specified transaction (committed on transaction commit, rolled back on transaction roll back...).

A enlist operation is defined by a <enlist> xml element.

This element can have a attribute "transaction", which specifies the name of the transaction to which the object should be linked.

If no "transaction" is found, a default name will be used.

Author:
Tom Baeyens, Guillaume Porcher (documentation)
See Also:
ObjectBinding, WireParser

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

EnlistBinding

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