< prev index next >
jaxws/src/java.xml.ws/share/classes/javax/xml/ws/handler/MessageContext.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
@@ -178,11 +178,21 @@
* visible to handlers,
* client applications and service endpoints; properties scoped as
* {@code HANDLER}
* are only normally visible to handlers.
*/
- public enum Scope {APPLICATION, HANDLER};
+ public enum Scope {
+
+ /**
+ * Application visibility.
+ */
+ APPLICATION,
+
+ /**
+ * Handler visibility.
+ */
+ HANDLER};
/**
* Sets the scope of a property.
*
* @param name Name of the property associated with the
< prev index next >