示例#1
0
        /// <summary>
        /// Constructor for <seealso cref="ConfigurationBean"/> </summary>
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: Neo4jMBean(String beanName, org.neo4j.kernel.internal.KernelData kernel, ManagementSupport support) throws javax.management.NotCompliantMBeanException
        internal Neo4jMBean(string beanName, KernelData kernel, ManagementSupport support) : base(typeof(DynamicMBean))
        {
            this.ObjectName = support.CreateObjectName(kernel.InstanceId(), beanName, false);
        }
示例#2
0
        /// <summary>
        /// Constructor for <seealso cref="KernelBean"/> </summary>
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: Neo4jMBean(Class<org.neo4j.jmx.Kernel> beanInterface, org.neo4j.kernel.internal.KernelData kernel, ManagementSupport support) throws javax.management.NotCompliantMBeanException
        internal Neo4jMBean(Type beanInterface, KernelData kernel, ManagementSupport support)
        {
            beanInterface = typeof(Kernel);
            base(beanInterface);
            this.ObjectName = support.CreateObjectName(kernel.InstanceId(), beanInterface);
        }