01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.objectserver.impl;
05:
06: import com.tc.objectserver.api.ObjectManagerLookupResults;
07:
08: import java.util.Collections;
09: import java.util.Map;
10: import java.util.Set;
11:
12: public class ObjectManagerLookupResultsImpl implements
13: ObjectManagerLookupResults {
14:
15: private final Map objects;
16: private final Set lookupPendingObjectIDs;
17:
18: public ObjectManagerLookupResultsImpl(Map objects) {
19: this (objects, Collections.EMPTY_SET);
20: }
21:
22: public ObjectManagerLookupResultsImpl(Map objects,
23: Set lookupPendingObjectIDs) {
24: this .objects = objects;
25: this .lookupPendingObjectIDs = lookupPendingObjectIDs;
26: }
27:
28: public Map getObjects() {
29: return this .objects;
30: }
31:
32: public Set getLookupPendingObjectIDs() {
33: return lookupPendingObjectIDs;
34: }
35: }
|