Class WrapperFactory

java.lang.Object
com.easydesk.lucene.om.WrapperFactory

@Component public class WrapperFactory extends Object
OM 의 Indexable 을 생성한다.
Author:
YounghoCho
  • Constructor Details

    • WrapperFactory

      public WrapperFactory(DocumentFactory documentFactory, TermFactory termFactory, LocationFactory locationFactory)
      Creates a new WrapperFactory object.
      Parameters:
      documentFactory - document factory
      termFactory - term factory
      locationFactory - location factory
  • Method Details

    • getInstance

      public Indexable getInstance(Object om) throws Exception
      Parameters:
      om - OM 객체
      Returns:
      indexable. document 가 null 이면 index 에서 제거된다.
      Throws:
      Exception - 오류