/******************************************************************************* * 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; import java.util.Map; import java.util.Set; import org.eclipse.virgo.kernel.model.Artifact; import org.eclipse.virgo.kernel.model.ArtifactState; import org.eclipse.virgo.kernel.model.CompositeArtifact; import org.osgi.framework.Version; public class StubCompositeArtifact implements CompositeArtifact { public Set<Artifact> getDependents() { throw new UnsupportedOperationException(); } public String getName() { return "test-name"; } public ArtifactState getState() { throw new UnsupportedOperationException(); } public String getType() { return "test-type"; } public Version getVersion() { return Version.emptyVersion; } public boolean refresh() { throw new UnsupportedOperationException(); } public void start() { throw new UnsupportedOperationException(); } public void stop() { throw new UnsupportedOperationException(); } public void uninstall() { throw new UnsupportedOperationException(); } public boolean isAtomic() { throw new UnsupportedOperationException(); } public boolean isScoped() { throw new UnsupportedOperationException(); } public Map<String, String> getProperties() { throw new UnsupportedOperationException(); } }