org.hibernate.id.enhanced
Class OptimizerFactory

java.lang.Object
  extended by org.hibernate.id.enhanced.OptimizerFactory

public class OptimizerFactory
extends Object

Factory for Optimizer instances.

Author:
Steve Ebersole

Nested Class Summary
static class OptimizerFactory.HiLoOptimizer
           
static class OptimizerFactory.NoopOptimizer
           
static class OptimizerFactory.OptimizerSupport
           
static class OptimizerFactory.PooledOptimizer
           
 
Field Summary
static String HILO
           
static String NONE
           
static String POOL
           
 
Constructor Summary
OptimizerFactory()
           
 
Method Summary
static Optimizer buildOptimizer(String type, Class returnClass, int incrementSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NONE

public static final String NONE
See Also:
Constant Field Values

HILO

public static final String HILO
See Also:
Constant Field Values

POOL

public static final String POOL
See Also:
Constant Field Values
Constructor Detail

OptimizerFactory

public OptimizerFactory()
Method Detail

buildOptimizer

public static Optimizer buildOptimizer(String type,
                                       Class returnClass,
                                       int incrementSize)