X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=test%2Fenterprise%2Fsrc%2Fmain%2Fjava%2Forg%2Fwamblee%2Ftest%2Fjndi%2FStubInitialContextFactory.java;h=023e77773a14009b46e7224292c2a0ec12f8242e;hb=83898516d61bfcd1f4e3a3ea79bb56f3877f4900;hp=09389ef10059036d956705401d43a053614b70b7;hpb=a1ab1a2e44c95cc10ad4c4d15420b49e3744d93b;p=utils diff --git a/test/enterprise/src/main/java/org/wamblee/test/jndi/StubInitialContextFactory.java b/test/enterprise/src/main/java/org/wamblee/test/jndi/StubInitialContextFactory.java index 09389ef1..023e7777 100644 --- a/test/enterprise/src/main/java/org/wamblee/test/jndi/StubInitialContextFactory.java +++ b/test/enterprise/src/main/java/org/wamblee/test/jndi/StubInitialContextFactory.java @@ -12,7 +12,7 @@ * 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; @@ -27,17 +27,18 @@ import javax.naming.spi.InitialContextFactory; * * 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: *
  *   InitialContext context = new InitialContext();
  *   MyClass myObj = ...; 
- *   context.bind("a/b", myObj); 
+ *   context.bind("a/b", myObj);
  * 
* - * 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 {