Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
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.internal;
A listener for changes in the NotifyingRuntimeArtifactRepository

Concurrent Semantics
Implementations must be threadsafe

public interface ArtifactRepositoryListener {

    
Called when an org.eclipse.virgo.kernel.model.Artifact is added to the repository

Parameters:
artifact The org.eclipse.virgo.kernel.model.Artifact that was added to the repository
    void added(Artifact artifact);

    
Called when an org.eclipse.virgo.kernel.model.Artifact is removed from the repository

Parameters:
artifact The org.eclipse.virgo.kernel.model.Artifact that was removed from the repository
    void removed(Artifact artifact);
New to GrepCode? Check out our FAQ X