Package org.hibernate.search.jmx.impl

Examples of org.hibernate.search.jmx.impl.IndexControl


    // since the SearchFactory is mutable we might have an already existing MBean which we have to unregister first
    if ( JMXRegistrar.isNameRegistered( objectName ) ) {
      JMXRegistrar.unRegisterMBean( objectName );
    }

    IndexControl indexCtrlBean = new IndexControl(
        configuration.getProperties(),
        searchFactoryImplementor.getServiceManager()
    );
    JMXRegistrar.registerMBean( indexCtrlBean, IndexControlMBean.class, objectName );
    indexControlMBeanName = objectName;
View Full Code Here


    // since the SearchFactory is mutable we might have an already existing MBean which we have to unregister first
    if ( JMXRegistrar.isNameRegistered( objectName ) ) {
      JMXRegistrar.unRegisterMBean( objectName );
    }

    IndexControl indexCtrlBean = new IndexControl(
        configuration.getProperties(),
        searchFactoryImplementor.getServiceManager()
    );
    JMXRegistrar.registerMBean( indexCtrlBean, IndexControlMBean.class, objectName );
    indexControlMBeanName = objectName;
View Full Code Here

TOP

Related Classes of org.hibernate.search.jmx.impl.IndexControl

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.