Package: SystemStateAccessor

SystemStateAccessor

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2008, 2010 VMware Inc.
3: * All rights reserved. This program and the accompanying materials
4: * are made available under the terms of the Eclipse Public License v1.0
5: * which accompanies this distribution, and is available at
6: * http://www.eclipse.org/legal/epl-v10.html
7: *
8: * Contributors:
9: * VMware Inc. - initial contribution
10: *******************************************************************************/
11:
12: package org.eclipse.virgo.nano.serviceability.dump.internal;
13:
14: import org.eclipse.osgi.service.resolver.State;
15:
16:
17: /**
18: * A <code>SystemStateAccessor</code> provides access to the live system {@link State}.
19: *
20: * <p />
21: *
22: * <strong>Concurrent Semantics</strong><br />
23: *
24: * Thread-safe.
25: *
26: */
27: interface SystemStateAccessor {
28:
29: /**
30: * Returns the {@link State} for the system
31: * @return the system <code>State</code>.
32: */
33: State getSystemState();
34: }