Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*    */ package org.jnp.server;
 /*    */ 
 /*    */ import javax.naming.NamingException;
 /*    */ import org.jnp.interfaces.NamingContext;
 /*    */ 
 /*    */ public class SingletonNamingServer extends NamingServer
 /*    */ {
 /*    */   static final long serialVersionUID = 7405111143081053466L;
 /*    */ 
/*    */   public SingletonNamingServer()
/*    */     throws NamingException
/*    */   {
/* 39 */     NamingContext.setLocal(this);
/*    */   }
/*    */ 
/*    */   public void destroy()
/*    */   {
/* 44 */     NamingContext.setLocal(null);
/*    */   }
/*    */ }
/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/jboss-embedded-all.jar
 * Qualified Name:     org.jnp.server.SingletonNamingServer
 * JD-Core Version:    0.6.0
 */
New to GrepCode? Check out our FAQ X