public void setSegmentFactory ( SegmentFactory segmentFactory ) { if ( segmentFactory == null ) { throw new IllegalArgumentException ( "Invalid segmentFactory: " + segmentFactory ) ; } this . _segmentFactory = segmentFactory ; this . _properties . setProperty ( PARAM_SEGMENT_FACTORY_CLASS , segmentFactory . getClass ( ) . getName ( ) ) ; }
Sets the segment factory of the target store .