|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jasperreports.engine.JRVirtualizationHelper
public final class JRVirtualizationHelper
Virtualization helper class.
Method Summary | |
---|---|
static void |
clearThreadJasperReportsContext()
Clears the JasperReportsContext associated to the current thread. |
static void |
clearThreadVirtualizer()
Clears the virtualizer associated to the current thread. |
static JasperReportsContext |
getThreadJasperReportsContext()
Returns the JasperReportsContext associated to the current thread. |
static JRVirtualizer |
getThreadVirtualizer()
Returns the virtualizer associated to the current thread. |
static void |
setThreadJasperReportsContext(JasperReportsContext jasperReportsContext)
Sets a JasperReportsContext to be used for 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 |
Method Detail |
---|
public static void setThreadVirtualizer(JRVirtualizer virtualizer)
The current thread's virtualizer is used when a report obtained by virtualization is deserialized.
virtualizer
- public static void clearThreadVirtualizer()
public static JRVirtualizer getThreadVirtualizer()
This method is used by JRVirtualPrintPage
on deserialization.
public static void setThreadJasperReportsContext(JasperReportsContext jasperReportsContext)
The current thread's context is used when a report obtained by virtualization is deserialized.
jasperReportsContext
- public static void clearThreadJasperReportsContext()
public static JasperReportsContext getThreadJasperReportsContext()
This method is used by JRVirtualPrintPage
on deserialization.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |