Top Description Inners Methods
org.hibernate.bytecode.spi

public Interface ReflectionOptimizer

Known Direct Implementers
org.hibernate.bytecode.internal.bytebuddy.ReflectionOptimizerImpl

Represents reflection optimization for a particular class.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface
ReflectionOptimizer.AccessOptimizer

Represents optimized entity property access.

public static interface
ReflectionOptimizer.InstantiationOptimizer

Represents optimized entity instantiation.

Method Summary

Modifier and TypeMethod and Description
public ReflectionOptimizer.AccessOptimizer
getAccessOptimizer()

Retrieve the optimizer for accessing the entity's persistent state.

public ReflectionOptimizer.InstantiationOptimizer
getInstantiationOptimizer()

Retrieve the optimizer for calling an entity's constructor via reflection.

Method Detail

getAccessOptimizerback to summary
public ReflectionOptimizer.AccessOptimizer getAccessOptimizer()

Retrieve the optimizer for accessing the entity's persistent state.

getInstantiationOptimizerback to summary
public ReflectionOptimizer.InstantiationOptimizer getInstantiationOptimizer()

Retrieve the optimizer for calling an entity's constructor via reflection.

org.hibernate.bytecode.spi back to summary

public Interface ReflectionOptimizer.AccessOptimizer


Represents optimized entity property access.

Method Summary

Modifier and TypeMethod and Description
public String[]
getPropertyNames()

Get the name of all properties.

public Object[]
getPropertyValues(Object object)

Get the value of all properties from the given entity

public void
setPropertyValues(Object object, Object[] values)

Set all property values into an entity instance.

Method Detail

getPropertyNamesback to summary
public String[] getPropertyNames()

Get the name of all properties.

getPropertyValuesback to summary
public Object[] getPropertyValues(Object object)

Get the value of all properties from the given entity

setPropertyValuesback to summary
public void setPropertyValues(Object object, Object[] values)

Set all property values into an entity instance.

org.hibernate.bytecode.spi back to summary

public Interface ReflectionOptimizer.InstantiationOptimizer


Represents optimized entity instantiation.

Method Summary

Modifier and TypeMethod and Description
public Object
newInstance()

Perform instantiation of an instance of the underlying class.

Method Detail

newInstanceback to summary
public Object newInstance()

Perform instantiation of an instance of the underlying class.