public static enum MessageContext.Scope extends Enum<MessageContext.Scope>
APPLICATION
范围是可见的处理器性能、客户端应用程序和服务的端点;范围
HANDLER
性能通常只有可见的句柄。
Enum Constant and Description |
---|
APPLICATION |
HANDLER |
Modifier and Type | Method and Description |
---|---|
static MessageContext.Scope |
valueOf(String name)
返回此类型具有指定名称的枚举常量。
|
static MessageContext.Scope[] |
values()
返回一个数组包含该枚举类型的常量,它们的顺序声明。
|
public static final MessageContext.Scope APPLICATION
public static final MessageContext.Scope HANDLER
public static MessageContext.Scope[] values()
对于(MessageContext.Scope C MessageContext。范围。values()) 系统,println(C);
public static MessageContext.Scope valueOf(String name)
name
-定要返回的枚举的名称。
IllegalArgumentException
-如果这个枚举类型,也没有固定的具有指定名称
NullPointerException
-如果参数为空
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.