|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<CredentialInterfaceEnum>
org.jboss.jca.common.api.metadata.ra.CredentialInterfaceEnum
public enum CredentialInterfaceEnum

| Enum Constant Summary | |
|---|---|
GenericCredential
enum instance representing javax.resource.spi.security.GenericCredential |
|
GSSCredential
enum instance representing org.ietf.jgss.GSSCredentia |
|
PasswordCredential
enum instance representing javax.resource.spi.security.PasswordCredential |
|
| Method Summary | |
|---|---|
static CredentialInterfaceEnum |
forName(String fullQualifiedName)
Conveninet method to get enum instance giving full qualified name |
String |
getFullQualifiedName()
|
static CredentialInterfaceEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CredentialInterfaceEnum[] |
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 CredentialInterfaceEnum PasswordCredential
public static final CredentialInterfaceEnum GSSCredential
public static final CredentialInterfaceEnum GenericCredential
| Method Detail |
|---|
public static CredentialInterfaceEnum[] values()
for (CredentialInterfaceEnum c : CredentialInterfaceEnum.values()) System.out.println(c);
public static CredentialInterfaceEnum 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
public static CredentialInterfaceEnum forName(String fullQualifiedName)
throws IllegalArgumentException
fullQualifiedName - the full qualified name of supported Credential interface
IllegalArgumentException - in case the fullQualifiedName isn't one of the supported interfaces:
javax.resource.spi.security.PasswordCredential
org.ietf.jgss.GSSCredential
javax.resource.spi.security.GenericCredentialpublic String getFullQualifiedName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||