com.genexus.management.NamespaceJMX Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gxclassR Show documentation
Show all versions of gxclassR Show documentation
Core classes for the runtime used by Java and Android apps generated with GeneXus
package com.genexus.management;
import com.genexus.db.Namespace;
public class NamespaceJMX implements NamespaceJMXMBean{
private Namespace namespace;
public NamespaceJMX(Namespace namespace)
{
this.namespace = namespace;
}
static public void CreateNamespaceJMX(Namespace namespace)
{
try
{
MBeanUtils.createMBean(namespace);
}
catch(Exception e)
{
System.err.println("Cannot register Namespace MBean."+e.toString());
}
}
public int getUserCount()
{
return namespace.getUserCounts();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy