org.infinispan.query.backend
Class SearchableCacheConfiguration

java.lang.Object
  extended by org.infinispan.query.backend.SearchableCacheConfiguration
All Implemented Interfaces:
org.hibernate.search.cfg.SearchConfiguration

public class SearchableCacheConfiguration
extends Object
implements org.hibernate.search.cfg.SearchConfiguration

Class that implements SearchConfiguration so that within Infinispan-Query, there is no need for a Hibernate Core configuration object.

Author:
Navin Surtani

Field Summary
protected  Map<String,Class<?>> classes
           
 
Constructor Summary
SearchableCacheConfiguration(Class[] classArray, Properties properties)
           
 
Method Summary
 Class<?> getClassMapping(String name)
           
 Iterator<Class<?>> getClassMappings()
           
 org.hibernate.search.cfg.SearchMapping getProgrammaticMapping()
           
 Properties getProperties()
           
 String getProperty(String propertyName)
           
 org.hibernate.annotations.common.reflection.ReflectionManager getReflectionManager()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

classes

protected Map<String,Class<?>> classes
Constructor Detail

SearchableCacheConfiguration

public SearchableCacheConfiguration(Class[] classArray,
                                    Properties properties)
Method Detail

getClassMappings

public Iterator<Class<?>> getClassMappings()
Specified by:
getClassMappings in interface org.hibernate.search.cfg.SearchConfiguration

getClassMapping

public Class<?> getClassMapping(String name)
Specified by:
getClassMapping in interface org.hibernate.search.cfg.SearchConfiguration

getProperty

public String getProperty(String propertyName)
Specified by:
getProperty in interface org.hibernate.search.cfg.SearchConfiguration

getProperties

public Properties getProperties()
Specified by:
getProperties in interface org.hibernate.search.cfg.SearchConfiguration

getReflectionManager

public org.hibernate.annotations.common.reflection.ReflectionManager getReflectionManager()
Specified by:
getReflectionManager in interface org.hibernate.search.cfg.SearchConfiguration

getProgrammaticMapping

public org.hibernate.search.cfg.SearchMapping getProgrammaticMapping()
Specified by:
getProgrammaticMapping in interface org.hibernate.search.cfg.SearchConfiguration

Google Analytics

Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.