if (id == null) {
throw new IllegalArgumentException("Id may not be null");
}
Object obj = null;
if (this.map != null) {
obj = this.map.get(id);
}
if (obj == null && this.parentContext != null) {
obj = this.parentContext.getAttribute(id);
}
return obj;