public enum CommonUnaryRequirement extends Enum<CommonUnaryRequirement> implements UnaryRequirement, UnaryServiceNameFactoryProvider
Enum Constant and Description |
---|
DATA_SOURCE |
OUTBOUND_SOCKET_BINDING |
SOCKET_BINDING |
Modifier and Type | Method and Description |
---|---|
String |
getName()
The base name of this requirement.
|
UnaryServiceNameFactory |
getServiceNameFactory() |
Class<?> |
getType()
The value type of the service provided by this requirement.
|
static CommonUnaryRequirement |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommonUnaryRequirement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
resolve
getServiceName, getServiceName
public static final CommonUnaryRequirement DATA_SOURCE
public static final CommonUnaryRequirement OUTBOUND_SOCKET_BINDING
public static final CommonUnaryRequirement SOCKET_BINDING
public static CommonUnaryRequirement[] values()
for (CommonUnaryRequirement c : CommonUnaryRequirement.values()) System.out.println(c);
public static CommonUnaryRequirement 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 getName()
Requirement
getName
in interface Requirement
public Class<?> getType()
Requirement
getType
in interface Requirement
public UnaryServiceNameFactory getServiceNameFactory()
getServiceNameFactory
in interface UnaryServiceNameFactoryProvider
Copyright © 2016 JBoss by Red Hat. All rights reserved.