public class InstantiationAwarePropertyAccessorFactory extends Object implements PersistentPropertyAccessorFactory
PersistentPropertyAccessorFactory decorating the PersistentPropertyAccessors created with
an InstantiationAwarePropertyAccessor to allow the handling of purely immutable types.| Constructor and Description |
|---|
InstantiationAwarePropertyAccessorFactory(PersistentPropertyAccessorFactory delegate,
EntityInstantiators instantiators) |
| Modifier and Type | Method and Description |
|---|---|
<T> PersistentPropertyAccessor<T> |
getPropertyAccessor(PersistentEntity<?,?> entity,
T bean)
|
boolean |
isSupported(PersistentEntity<?,?> entity)
Returns whether given
PersistentEntity is supported by this PersistentPropertyAccessorFactory. |
public InstantiationAwarePropertyAccessorFactory(PersistentPropertyAccessorFactory delegate, EntityInstantiators instantiators)
public <T> PersistentPropertyAccessor<T> getPropertyAccessor(PersistentEntity<?,?> entity, T bean)
PersistentPropertyAccessorFactorygetPropertyAccessor in interface PersistentPropertyAccessorFactoryentity - must not be null.bean - must not be null.public boolean isSupported(PersistentEntity<?,?> entity)
PersistentPropertyAccessorFactoryPersistentEntity is supported by this PersistentPropertyAccessorFactory.isSupported in interface PersistentPropertyAccessorFactoryentity - must not be null.Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.