* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- */
+ */
package org.wamblee.test.jndi;
import java.util.Hashtable;
*
* See {@link #bind(String, Object)} to resp. register the initial context.
*
- * To start mocking the JNDI tree, call {@link #register()}.
+ * To start mocking the JNDI tree, call {@link #register()}.
+ *
+ * To bind objects in the JNDI tree simply use the standard JNDI api:
*
- * To bind objects in the JNDI tree simply use the standard JNDI api:
* <pre>
* InitialContext context = new InitialContext();
* MyClass myObj = ...;
- * context.bind("a/b", myObj);
+ * context.bind("a/b", myObj);
* </pre>
*
- * When finished with a test case, call {@link #unregister()} to unregister the
- * JNDI tree again.
+ * When finished with a test case, call {@link #unregister()} to unregister the
+ * JNDI tree again.
*/
public class StubInitialContextFactory implements InitialContextFactory {