net.sf.jasperreports.engine
Class JRVirtualizationHelper

java.lang.Object
  extended by net.sf.jasperreports.engine.JRVirtualizationHelper

public class JRVirtualizationHelper
extends java.lang.Object

Virtualization helper class.

Version:
$Id: JRVirtualizationHelper.java 3033 2009-08-27 11:46:22Z teodord $
Author:
Lucian Chirita (lucianc@users.sourceforge.net)

Constructor Summary
JRVirtualizationHelper()
           
 
Method Summary
static void clearThreadVirtualizer()
          Clears the virtualizer associated to the current thread.
static JRVirtualizer getThreadVirtualizer()
          Returns the virtualizer associated to the current thread.
static void setThreadVirtualizer(JRVirtualizer virtualizer)
          Sets a virtualizer to be used for the current thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JRVirtualizationHelper

public JRVirtualizationHelper()
Method Detail

setThreadVirtualizer

public static void setThreadVirtualizer(JRVirtualizer virtualizer)
Sets a virtualizer to be used for the current thread.

The current thread's virtualizer is used when a report obtained by virtualization is deserialized.

Parameters:
virtualizer -

clearThreadVirtualizer

public static void clearThreadVirtualizer()
Clears the virtualizer associated to the current thread.


getThreadVirtualizer

public static JRVirtualizer getThreadVirtualizer()
Returns the virtualizer associated to the current thread.

This method is used by JRVirtualPrintPage on deserialization.

Returns:
the virtualizer associated to the current thread


© 2001-2009 Jaspersoft Corporation www.jaspersoft.com