/******************************************************************************* * Copyright (c) 2008, 2010 VMware Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * VMware Inc. - initial contribution *******************************************************************************/ package org.eclipse.virgo.kernel.model; /** * Represents a composite artifact (an artifact that contains other artifacts) in the runtime model of this system. Acts * as a generic interface that delegates to more specific functionality in the running system. In all likelihood, there * should be very few sub-interfaces of this interface but quite a few implementations of this interface. * <p /> * * <strong>Concurrent Semantics</strong><br /> * * Implementations must be threadsafe * */ public interface CompositeArtifact extends Artifact { /** * Get whether this @{link CompositeArtifact} is scoped or not * * @return Whether this {@link CompositeArtifact} is scoped or not */ boolean isScoped(); /** * Get whether this @{link CompositeArtifact} is atomic or not * * @return Whether this {@link CompositeArtifact} is atomic or not */ boolean isAtomic(); }