Permalink
Browse files

Locator removed from vmm request context

  • Loading branch information...
1 parent 9de7cab commit 5f25d5a4ff1a6bb7087409c339e9e71f06dc9fe0 @carlasouza carlasouza committed Jul 26, 2011
@@ -9,34 +9,24 @@
private final int id;
private final String name;
- private final TempLocator locator;
private final Lager lager;
private ResourcepoolEntry vmm;
- public VMMRequestContext(int id,
- String name,
- TempLocator aLocator,
- Lager lagerImpl) {
+ public ResourcepoolEntry getVmm() {
+ return this.vmm;
+ }
+
+ public VMMRequestContext(int id, String name, Lager lagerImpl) {
this.id = id;
this.name = name;
- if (aLocator == null) {
- throw new IllegalArgumentException("aLocator may not be null");
- }
- this.locator = aLocator;
-
if (lagerImpl == null) {
throw new IllegalArgumentException("lagerImpl may not be null");
}
this.lager = lagerImpl;
}
-
- public ResourcepoolEntry getVmm() {
- return this.vmm;
- }
-
public void setVm(ResourcepoolEntry vmm) {
this.vmm = vmm;
}
@@ -49,10 +39,6 @@ public String getName() {
return this.name;
}
- public TempLocator getLocator() {
- return this.locator;
- }
-
public Lager lager() {
return this.lager;
}

0 comments on commit 5f25d5a

Please sign in to comment.