Package org.hibernate.search.indexes.serialization.spi

Examples of org.hibernate.search.indexes.serialization.spi.SerializationProvider


    ServiceManager serviceManager = new StandardServiceManager(
        new SearchConfigurationForTest(),
        null
    );

    SerializationProvider serializationProvider = serviceManager.requestService( SerializationProvider.class );
    assertTrue( "Wrong serialization provider", serializationProvider instanceof NativeJavaSerializationProvider );
  }
View Full Code Here


  @Rule
  public SearchFactoryHolder searchFactoryHolder = new SearchFactoryHolder( RemoteEntity.class );

  @Test
  public void verifyAvroSerializerInUse() {
    SerializationProvider serializationProvider = searchFactoryHolder.getSearchFactory().getServiceManager().requestService( SerializationProvider.class );
    assertTrue( "Wrong serialization provider", serializationProvider instanceof AvroSerializationProvider );
  }
View Full Code Here

TOP

Related Classes of org.hibernate.search.indexes.serialization.spi.SerializationProvider

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.