public enum CacheServiceName extends Enum<CacheServiceName> implements CacheServiceNameFactory
| Enum Constant and Description |
|---|
CACHE |
CONFIGURATION |
XA_RESOURCE_RECOVERY |
DEFAULT_CACHE| Modifier and Type | Method and Description |
|---|---|
org.jboss.msc.service.ServiceName |
getServiceName(String container)
Returns an appropriate service name for the specified container name
|
static CacheServiceName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheServiceName[] |
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, valueOfgetServiceNamepublic static final CacheServiceName CACHE
public static final CacheServiceName CONFIGURATION
public static final CacheServiceName XA_RESOURCE_RECOVERY
public static CacheServiceName[] values()
for (CacheServiceName c : CacheServiceName.values()) System.out.println(c);
public static CacheServiceName 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 org.jboss.msc.service.ServiceName getServiceName(String container)
CacheContainerServiceNameFactorygetServiceName in interface CacheContainerServiceNameFactorycontainer - a cache container nameCopyright © 2015 JBoss by Red Hat. All rights reserved.