public class ReflectionOptimizerImpl extends java.lang.Object implements ReflectionOptimizer, java.io.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-2018 Red Hat, Inc. All Rights Reserved.