public static enum ServiceListener.Inheritance extends Enum<ServiceListener.Inheritance>
Enum Constant and Description |
---|
ALL
This listener is inherited to all levels.
|
NONE
This listener is never inherited.
|
ONCE
This listener is inherited only to one level.
|
Modifier and Type | Method and Description |
---|---|
static ServiceListener.Inheritance |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceListener.Inheritance[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceListener.Inheritance NONE
public static final ServiceListener.Inheritance ONCE
public static final ServiceListener.Inheritance ALL
public static ServiceListener.Inheritance[] values()
for (ServiceListener.Inheritance c : ServiceListener.Inheritance.values()) System.out.println(c);
public static ServiceListener.Inheritance 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 © 2012 JBoss by Red Hat. All Rights Reserved.