Class ClasspathContainerInitializer

java.lang.Object
org.aspectj.org.eclipse.jdt.core.ClasspathContainerInitializer
Direct Known Subclasses:
ModulePathContainerInitializer, UserLibraryClasspathContainerInitializer

public abstract class ClasspathContainerInitializer extends Object
Abstract base implementation of all classpath container initializer. Classpath variable containers are used in conjunction with the "org.aspectj.org.eclipse.jdt.core.classpathContainerInitializer" extension point.

Clients should subclass this class to implement a specific classpath container initializer. The subclass must have a public 0-argument constructor and a concrete implementation of initialize(IPath, IJavaProject).

Multiple classpath containers can be registered, each of them declares the container ID they can handle, so as to narrow the set of containers they can resolve, in other words, a container initializer is guaranteed to only be activated to resolve containers which match the ID they registered onto.

In case multiple container initializers collide on the same container ID, the first registered one will be invoked.

Since:
2.0
See Also: