Exposing fields of CreateVolumeResponseHandler to subclasses

This commit is contained in:
Adam Lowe 2012-04-17 12:38:18 +01:00
parent 1aff618529
commit 8350e453ca
1 changed files with 16 additions and 16 deletions

View File

@ -50,7 +50,7 @@ import com.google.common.collect.Sets;
* @author Adrian Cole * @author Adrian Cole
*/ */
public class CreateVolumeResponseHandler extends ParseSax.HandlerForGeneratedRequestWithResult<Volume> { public class CreateVolumeResponseHandler extends ParseSax.HandlerForGeneratedRequestWithResult<Volume> {
private StringBuilder currentText = new StringBuilder(); protected StringBuilder currentText = new StringBuilder();
@Resource @Resource
protected Logger logger = Logger.NULL; protected Logger logger = Logger.NULL;
@ -58,7 +58,7 @@ public class CreateVolumeResponseHandler extends ParseSax.HandlerForGeneratedReq
protected DateService dateService; protected DateService dateService;
@Inject @Inject
@Region @Region
Supplier<String> defaultRegion; protected Supplier<String> defaultRegion;
@Inject @Inject
@Zone @Zone
protected Supplier<Map<String, Supplier<Set<String>>>> regionToZonesSupplier; protected Supplier<Map<String, Supplier<Set<String>>>> regionToZonesSupplier;
@ -66,23 +66,23 @@ public class CreateVolumeResponseHandler extends ParseSax.HandlerForGeneratedReq
@Zone @Zone
protected Supplier<Set<String>> zonesSupplier; protected Supplier<Set<String>> zonesSupplier;
private String id; protected String id;
private int size; protected int size;
private String snapshotId; protected String snapshotId;
private String availabilityZone; protected String availabilityZone;
private Volume.Status volumeStatus; protected Volume.Status volumeStatus;
private Date createTime; protected Date createTime;
private Set<Attachment> attachments = Sets.newLinkedHashSet(); protected Set<Attachment> attachments = Sets.newLinkedHashSet();
private String volumeId; protected String volumeId;
private String instanceId; protected String instanceId;
private String device; protected String device;
private Attachment.Status attachmentStatus; protected Attachment.Status attachmentStatus;
private Date attachTime; protected Date attachTime;
private boolean inAttachmentSet; protected boolean inAttachmentSet;
private String region; protected String region;
public Volume getResult() { public Volume getResult() {
return newVolume(); return newVolume();