org.hibernate.bytecode.ReflectionOptimizer Maven / Gradle / Ivy
package org.hibernate.bytecode;
/**
* Represents reflection optimization for a particular class.
*
* @author Steve Ebersole
*/
public interface ReflectionOptimizer {
public InstantiationOptimizer getInstantiationOptimizer();
public AccessOptimizer getAccessOptimizer();
/**
* Represents optimized entity instantiation.
*/
public static interface InstantiationOptimizer {
/**
* Perform instantiation of an instance of the underlying class.
*
* @return The new instance.
*/
public Object newInstance();
}
/**
* Represents optimized entity property access.
*
* @author Steve Ebersole
*/
public interface AccessOptimizer {
public String[] getPropertyNames();
public Object[] getPropertyValues(Object object);
public void setPropertyValues(Object object, Object[] values);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy