01: /*
02: * Copyright (c) 1998 - 2005 Versant Corporation
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * Versant Corporation - initial API and implementation
10: */
11: package com.versant.core.storagemanager;
12:
13: import com.versant.core.common.OID;
14: import com.versant.core.metadata.FetchGroup;
15:
16: /**
17: * ApplicationContext that wants all data.
18: */
19: public class DummyApplicationContext implements ApplicationContext {
20:
21: public static final DummyApplicationContext INSTANCE = new DummyApplicationContext();
22:
23: public boolean isStateRequired(OID oid, FetchGroup fetchGroup) {
24: return true;
25: }
26:
27: }
|