org.eclipse.core.runtime.IRegistryEventListener Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aspectjtools Show documentation
Show all versions of aspectjtools Show documentation
AspectJ tools most notably contains the AspectJ compiler (AJC). AJC applies aspects to Java classes during
compilation, fully replacing Javac for plain Java classes and also compiling native AspectJ or annotation-based
@AspectJ syntax. Furthermore, AJC can weave aspects into existing class files in a post-compile binary weaving step.
This library is a superset of AspectJ weaver and hence also of AspectJ runtime.
/*******************************************************************************
* Copyright (c) 2007, 2008 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.core.runtime;
import java.util.EventListener;
/**
* A registry event listener is notified of changes to extension points. Changes
* include modifications of extension points and their extensions. Listeners will
* only receive a notification if the extension point they are registered for is
* modified. (Which includes modifications of extensions under the extension point.)
*
* This interface can be used without OSGi running.
*
* Clients may implement this interface.
*
* @see IExtensionRegistry#addListener(IRegistryEventListener, String)
* @since 3.4
*/
public interface IRegistryEventListener extends EventListener {
/**
* Notifies this listener that extensions were added to the registry.
*
* The extensions supplied as the argument are valid only for the duration of the
* invocation of this method.
*
* @param extensions extensions added to the registry
*/
public void added(IExtension[] extensions);
/**
* Notifies this listener that extensions were removed from the registry.
*
* The extensions supplied as the argument are valid only for the duration of the
* invocation of this method.
*
* @param extensions extensions removed from the registry
*/
public void removed(IExtension[] extensions);
/**
* Notifies this listener that extension points were added to the registry.
*
* The extension points supplied as the argument are valid only for the duration of the
* invocation of this method.
*
* @param extensionPoints extension points added to the registry
*/
public void added(IExtensionPoint[] extensionPoints);
/**
* Notifies this listener that extension points were removed from the registry.
*
* The extension points supplied as the argument are valid only for the duration of the
* invocation of this method.
*
* @param extensionPoints extension points removed from the registry
*/
public void removed(IExtensionPoint[] extensionPoints);
}