org.hibernate.search.cfg
Interface SearchConfiguration

All Known Implementing Classes:
SearchConfigurationFromHibernateCore

public interface SearchConfiguration

Provides configuration to Hibernate Search

Author:
Navin Surtani - navin@surtani.org

Method Summary
 Class<?> getClassMapping(String name)
          Returns a Class from a String parameter.
 Iterator<Class<?>> getClassMappings()
          Returns an iterator over the list of indexed classes
 Properties getProperties()
          Gets properties as a java.util.Properties object.
 String getProperty(String propertyName)
          Gets a configuration property from its name or null if not present
 org.hibernate.annotations.common.reflection.ReflectionManager getReflectionManager()
          Returns a reflection manager if already available in the environment null otherwise
 

Method Detail

getClassMappings

Iterator<Class<?>> getClassMappings()
Returns an iterator over the list of indexed classes

Returns:
iterator of indexed classes.

getClassMapping

Class<?> getClassMapping(String name)
Returns a Class from a String parameter.

Parameters:
name -
Returns:
An iterator of Classes.

getProperty

String getProperty(String propertyName)
Gets a configuration property from its name or null if not present

Parameters:
propertyName - - as a String.
Returns:
the property as a String

getProperties

Properties getProperties()
Gets properties as a java.util.Properties object.

Returns:
a java.util.Properties object.
See Also:
object

getReflectionManager

org.hibernate.annotations.common.reflection.ReflectionManager getReflectionManager()
Returns a reflection manager if already available in the environment null otherwise

Returns:
ReflectionManager


Copyright © 2011 Hibernate. All Rights Reserved.