Package org.hibernate.search.jmx

Examples of org.hibernate.search.jmx.HibernateSearchConfigInfo


    }
    return searchFactoryImplementor;
  }

  private void enableJMXStatistics(SearchFactoryImplementor searchFactoryImplementor) {
    HibernateSearchConfigInfo statsBean = new HibernateSearchConfigInfo( searchFactoryImplementor );
    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" ) ) ) {
View Full Code Here

TOP

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

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.