public static enum Context.Source extends Enum<Context.Source>
Enum Constant and Description |
---|
COMPONENT
The bundle context from the bundle declaring the component.
|
INSTANCE
The bundle context from the bundle declaring the instance.
|
Modifier and Type | Method and Description |
---|---|
static Context.Source |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Context.Source[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Context.Source COMPONENT
public static final Context.Source INSTANCE
public static Context.Source[] values()
for (Context.Source c : Context.Source.values()) System.out.println(c);
public static Context.Source 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 © 2006–2023 The Apache Software Foundation. All rights reserved.