public <T extends BaseProxy> T deserialize(Class<T> proxyType, String key) { // Fast exit to prevent getOperation from throwing an exception if (store.get(key) == null) { return null; } OperationMessage op = getOperation(key); @SuppressWarnings("unchecked") SimpleProxyId<T> id = (SimpleProxyId<T>) getId(op); return doDeserialize(id); }
@Override <Q extends BaseProxy> AutoBean<Q> getProxyForReturnPayloadGraph(SimpleProxyId<Q> id) { AutoBean<Q> toReturn = super.getProxyForReturnPayloadGraph(id); if (restored.add(id)) { /* * If we haven't seen the id before, use the data in the OperationMessage * to repopulate the properties of the canonical bean for this id. */ OperationMessage op = getOperation(getRequestFactory().getHistoryToken(id)); this.processReturnOperation(id, op); toReturn.setTag(Constants.STABLE_ID, super.getId(op)); } return toReturn; }
public <T extends BaseProxy> T deserialize(Class<T> proxyType, String key) { // Fast exit to prevent getOperation from throwing an exception if (store.get(key) == null) { return null; } OperationMessage op = getOperation(key); @SuppressWarnings("unchecked") SimpleProxyId<T> id = (SimpleProxyId<T>) getId(op); return doDeserialize(id); }
public <T extends BaseProxy> T deserialize(Class<T> proxyType, String key) { // Fast exit to prevent getOperation from throwing an exception if (store.get(key) == null) { return null; } OperationMessage op = getOperation(key); @SuppressWarnings("unchecked") SimpleProxyId<T> id = (SimpleProxyId<T>) getId(op); return doDeserialize(id); }
public <T extends BaseProxy> T deserialize(Class<T> proxyType, String key) { // Fast exit to prevent getOperation from throwing an exception if (store.get(key) == null) { return null; } OperationMessage op = getOperation(key); @SuppressWarnings("unchecked") SimpleProxyId<T> id = (SimpleProxyId<T>) getId(op); return doDeserialize(id); }
@Override <Q extends BaseProxy> AutoBean<Q> getProxyForReturnPayloadGraph(SimpleProxyId<Q> id) { AutoBean<Q> toReturn = super.getProxyForReturnPayloadGraph(id); if (restored.add(id)) { /* * If we haven't seen the id before, use the data in the OperationMessage * to repopulate the properties of the canonical bean for this id. */ OperationMessage op = getOperation(getRequestFactory().getHistoryToken(id)); this.processReturnOperation(id, op); toReturn.setTag(Constants.STABLE_ID, super.getId(op)); } return toReturn; }
@Override <Q extends BaseProxy> AutoBean<Q> getProxyForReturnPayloadGraph(SimpleProxyId<Q> id) { AutoBean<Q> toReturn = super.getProxyForReturnPayloadGraph(id); if (restored.add(id)) { /* * If we haven't seen the id before, use the data in the OperationMessage * to repopulate the properties of the canonical bean for this id. */ OperationMessage op = getOperation(getRequestFactory().getHistoryToken(id)); this.processReturnOperation(id, op); toReturn.setTag(Constants.STABLE_ID, super.getId(op)); } return toReturn; }
@Override <Q extends BaseProxy> AutoBean<Q> getProxyForReturnPayloadGraph(SimpleProxyId<Q> id) { AutoBean<Q> toReturn = super.getProxyForReturnPayloadGraph(id); if (restored.add(id)) { /* * If we haven't seen the id before, use the data in the OperationMessage * to repopulate the properties of the canonical bean for this id. */ OperationMessage op = getOperation(getRequestFactory().getHistoryToken(id)); this.processReturnOperation(id, op); toReturn.setTag(Constants.STABLE_ID, super.getId(op)); } return toReturn; }