Package org.hibernate.search.jmx

Examples of org.hibernate.search.jmx.HibernateSearchIndexCtrl


    ObjectName name = createObjectName( HibernateSearchConfigInfoMBean.CONFIG_MBEAN_OBJECT_NAME );
    registerMBean( statsBean, name );

    // if we have a JNDI bound SessionFactory we can also enable the index control bean
    if ( StringHelper.isNotEmpty( configurationProperties.getProperty( "hibernate.session_factory_name" ) ) ) {
      HibernateSearchIndexCtrl indexCtrlBean = new HibernateSearchIndexCtrl( configurationProperties );
      name = createObjectName( HibernateSearchIndexCtrl.INDEX_CTRL_MBEAN_OBJECT_NAME );
      registerMBean( indexCtrlBean, name );
    }
  }
View Full Code Here

TOP

Related Classes of org.hibernate.search.jmx.HibernateSearchIndexCtrl

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.