protected <T> AchillesFuture<T> asyncRefresh(final T entity, Options options) throws AchillesStaleObjectStateException {
proxifier.ensureProxy(entity);
Object realObject = proxifier.getRealObject(entity);
entityValidator.validateEntity(realObject, entityMetaMap);
PersistenceManagerOperations context = initPersistenceContext(realObject, options);
return context.refresh(entity);
}
protected <T> T initialize(final T entity) {
proxifier.ensureProxy(entity);
T realObject = proxifier.getRealObject(entity);