< prev index next >

src/java.naming/share/classes/javax/naming/CompoundName.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1999, 2013, 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 --- 1,7 ---- /* ! * Copyright (c) 1999, 2019, 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
*** 37,47 **** * compound name with N components range from 0 up to, but not including, N. * This range may be written as [0,N). * The most significant component is at index 0. * An empty compound name has no components. * ! * <h1>Compound Name Syntax</h1> * The syntax of a compound name is specified using a set of properties: *<dl> * <dt>jndi.syntax.direction * <dd>Direction for parsing ("right_to_left", "left_to_right", "flat"). * If unspecified, defaults to "flat", which means the namespace is flat --- 37,47 ---- * compound name with N components range from 0 up to, but not including, N. * This range may be written as [0,N). * The most significant component is at index 0. * An empty compound name has no components. * ! * <h2>Compound Name Syntax</h2> * The syntax of a compound name is specified using a set of properties: *<dl> * <dt>jndi.syntax.direction * <dd>Direction for parsing ("right_to_left", "left_to_right", "flat"). * If unspecified, defaults to "flat", which means the namespace is flat
*** 134,144 **** * string representation, the reserved syntax rules described above are * applied (e.g. embedded separators are escaped or quoted) * so that when the same string is parsed, it will yield the same components * of the original compound name. * ! *<h1>Multithreaded Access</h1> * A {@code CompoundName} instance is not synchronized against concurrent * multithreaded access. Multiple threads trying to access and modify a * {@code CompoundName} should lock the object. * * @author Rosanna Lee --- 134,144 ---- * string representation, the reserved syntax rules described above are * applied (e.g. embedded separators are escaped or quoted) * so that when the same string is parsed, it will yield the same components * of the original compound name. * ! *<h2>Multithreaded Access</h2> * A {@code CompoundName} instance is not synchronized against concurrent * multithreaded access. Multiple threads trying to access and modify a * {@code CompoundName} should lock the object. * * @author Rosanna Lee
< prev index next >