Package systextil.nxj

Class Locks

java.lang.Object
systextil.nxj.Locks
All Implemented Interfaces:
EventListener, javax.servlet.ServletContextListener, LocksMBean

public class Locks extends Object implements LocksMBean, javax.servlet.ServletContextListener
Consulta locks em um banco de dados.

É registrado como MBean para acesso pelo JConsole, e também pode ser chamado em programas de diagnóstico - como p. ex. oper_f999.

  • Constructor Details

    • Locks

      public Locks()
  • Method Details

    • contextInitialized

      public void contextInitialized(javax.servlet.ServletContextEvent sc)
      Specified by:
      contextInitialized in interface javax.servlet.ServletContextListener
    • contextDestroyed

      public void contextDestroyed(javax.servlet.ServletContextEvent sce)
      Specified by:
      contextDestroyed in interface javax.servlet.ServletContextListener
    • listInactiveLocks

      public Locks.Stamp[] listInactiveLocks()
      Specified by:
      listInactiveLocks in interface LocksMBean
    • listAllLocks

      public Locks.Stamp[] listAllLocks()
      Specified by:
      listAllLocks in interface LocksMBean
    • listAllStamps

      public Locks.Stamp[] listAllStamps()
      Specified by:
      listAllStamps in interface LocksMBean
    • getStamp

      public Locks.Stamp getStamp(int instancia, int sid)
      Specified by:
      getStamp in interface LocksMBean
    • listAllStamps

      public static Locks.Stamp[] listAllStamps(br.com.intersys.systextil.connection.AppConnection cn)
    • listAllLocks

      public static Locks.Stamp[] listAllLocks(br.com.intersys.systextil.connection.AppConnection cn)