Package org.jboss.monitor

Examples of org.jboss.monitor.EntityLockMonitor


      this.container = container;
      trace = log.isTraceEnabled();
      try
      {
         InitialContext ctx = new InitialContext();
         EntityLockMonitor elm = (EntityLockMonitor) ctx.lookup(EntityLockMonitor.JNDI_NAME);
         String jndiName = container.getBeanMetaData().getContainerObjectNameJndiName();
         monitor = elm.getEntityLockMonitor(jndiName);
      }
      catch (Exception ignored)
      {
         // Ignore the lack of an EntityLockMonitor
      }
View Full Code Here


/*  71 */     this.container = container;
/*  72 */     this.trace = log.isTraceEnabled();
/*     */     try
/*     */     {
/*  75 */       InitialContext ctx = new InitialContext();
/*  76 */       EntityLockMonitor elm = (EntityLockMonitor)ctx.lookup("EntityLockMonitor");
/*  77 */       String jndiName = container.getBeanMetaData().getContainerObjectNameJndiName();
/*  78 */       this.monitor = elm.getEntityLockMonitor(jndiName);
/*     */     }
/*     */     catch (Exception ignored)
/*     */     {
/*     */     }
/*     */   }
View Full Code Here

TOP

Related Classes of org.jboss.monitor.EntityLockMonitor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.