|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ResultSetScope>
org.milyn.routing.db.ResultSetScope
public enum ResultSetScope
Database Resultset lifecycle scope for Resultsets created by the
SQLExecutor class.
| Enum Constant Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
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 .
| Method Detail |
|---|
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 name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||