public enum DataSourceStatus extends Enum<DataSourceStatus>
| Enum Constant and Description |
|---|
NEW
A data source that was just created but never looked up but the lookup operation.
|
REFERENCED
A data source that was looked up by at least one client.
|
STALE
A data source in stale mode may continue serving connections but it's not safe to do it.
|
| Modifier and Type | Method and Description |
|---|---|
static DataSourceStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataSourceStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataSourceStatus NEW
public static final DataSourceStatus REFERENCED
public static final DataSourceStatus STALE
public static DataSourceStatus[] values()
for (DataSourceStatus c : DataSourceStatus.values()) System.out.println(c);
public static DataSourceStatus 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 © 2001–2016 JBoss by Red Hat. All rights reserved.