public enum ResultSetScope extends Enum<ResultSetScope>
SQLExecutor
class.Enum Constant and Description |
---|
APPLICATION
The Resultset is scoped around the Smooks
ApplicationContext . |
EXECUTION
The Resultset is scoped around the Smooks
ExecutionContext , and so only
lives for the duration of the Smooks#filter(org.milyn.container.ExecutionContext,javax.xml.transform.Source,javax.xml.transform.Result)
call. |
Modifier and Type | Method and Description |
---|---|
static ResultSetScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResultSetScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResultSetScope EXECUTION
ExecutionContext
, and so only
lives for the duration of the Smooks#filter(org.milyn.container.ExecutionContext,javax.xml.transform.Source,javax.xml.transform.Result)
call.public static final ResultSetScope APPLICATION
ApplicationContext
. In this case,
the ResultSet can outlive the lifetime of the Smooks#filter(org.milyn.container.ExecutionContext,javax.xml.transform.Source,javax.xml.transform.Result)
that created it. It's expiry is governed by the .public static ResultSetScope[] values()
for (ResultSetScope c : ResultSetScope.values()) System.out.println(c);
public static ResultSetScope valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020. All rights reserved.