public static enum ResourcesReader.ResourceType extends Enum<ResourcesReader.ResourceType>
Enum Constant and Description |
---|
ADMIN_OBJECT_RESOURCE |
CONNECTOR_POOL |
CONNECTOR_RESOURCE |
JAVA_MAIL |
JDBC_CONNECTION_POOL |
JDBC_RESOURCE |
Modifier and Type | Field and Description |
---|---|
private String |
defaultKeyName |
private String |
defaultPath |
Modifier and Type | Method and Description |
---|---|
String |
getDefaultKeyName() |
String |
getDefaultPath() |
static ResourcesReader.ResourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourcesReader.ResourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourcesReader.ResourceType JDBC_RESOURCE
public static final ResourcesReader.ResourceType JDBC_CONNECTION_POOL
public static final ResourcesReader.ResourceType JAVA_MAIL
public static final ResourcesReader.ResourceType CONNECTOR_RESOURCE
public static final ResourcesReader.ResourceType CONNECTOR_POOL
public static final ResourcesReader.ResourceType ADMIN_OBJECT_RESOURCE
public static ResourcesReader.ResourceType[] values()
for (ResourcesReader.ResourceType c : ResourcesReader.ResourceType.values()) System.out.println(c);
public static ResourcesReader.ResourceType 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 nullpublic String getDefaultPath()
public String getDefaultKeyName()
Copyright © 2013. All Rights Reserved.