public class ReflectionOptimizerImpl extends Object implements ReflectionOptimizer, Serializable
ReflectionOptimizer.AccessOptimizer, ReflectionOptimizer.InstantiationOptimizer
Constructor and Description |
---|
ReflectionOptimizerImpl(ReflectionOptimizer.InstantiationOptimizer instantiationOptimizer,
ReflectionOptimizer.AccessOptimizer accessOptimizer)
Constructs a ReflectionOptimizerImpl
|
Modifier and Type | Method and Description |
---|---|
ReflectionOptimizer.AccessOptimizer |
getAccessOptimizer()
Retrieve the optimizer for accessing the entity's persistent state.
|
ReflectionOptimizer.InstantiationOptimizer |
getInstantiationOptimizer()
Retrieve the optimizer for calling an entity's constructor via reflection.
|
public ReflectionOptimizerImpl(ReflectionOptimizer.InstantiationOptimizer instantiationOptimizer, ReflectionOptimizer.AccessOptimizer accessOptimizer)
instantiationOptimizer
- The instantiation optimizer to useaccessOptimizer
- The property access optimizer to use.public ReflectionOptimizer.InstantiationOptimizer getInstantiationOptimizer()
ReflectionOptimizer
getInstantiationOptimizer
in interface ReflectionOptimizer
public ReflectionOptimizer.AccessOptimizer getAccessOptimizer()
ReflectionOptimizer
getAccessOptimizer
in interface ReflectionOptimizer
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.