FileDocCategorySizeDatePackage
TransactionTag.javaAPI DocGlassfish v2 API3165Sat May 05 19:17:58 BST 2007org.apache.taglibs.standard.tag.el.sql

TransactionTag

public class TransactionTag extends org.apache.taglibs.standard.tag.common.sql.TransactionTagSupport
Subclass for the JSTL library with EL support.
author
Hans Bergsten
author
Justyna Horwat

Fields Summary
private String
dataSourceEL
private String
isolationEL
Constructors Summary
Methods Summary
public intdoStartTag()

	if (dataSourceEL != null) {
	    rawDataSource = (Object) 
		ExpressionEvaluatorManager.evaluate("dataSource", 
		    dataSourceEL, Object.class, this, pageContext);
	}

	if (isolationEL != null) {
	    isolationEL = (String) 
		ExpressionEvaluatorManager.evaluate("isolation", 
		    isolationEL, String.class, this, pageContext);
            super.setIsolation(isolationEL);
	}

	return super.doStartTag();
    
public voidsetDataSource(java.lang.String dataSourceEL)

	this.dataSourceEL = dataSourceEL;
	this.dataSourceSpecified = true;
    
public voidsetIsolation(java.lang.String isolationEL)

	this.isolationEL = isolationEL;