public class ImplementationManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected MetaModelManager |
metaModelManager |
Modifier | Constructor and Description |
---|---|
protected |
ImplementationManager(MetaModelManager metaModelManager) |
Modifier and Type | Method and Description |
---|---|
void |
addClassLoader(java.lang.ClassLoader classLoader) |
void |
dispose() |
java.util.List<java.lang.ClassLoader> |
getClassLoaders() |
protected LibraryOperation |
getOperationImplementation(Operation operation) |
protected LibraryProperty |
getPropertyImplementation(Property property) |
LibraryFeature |
loadImplementation(Feature feature)
Return the implementation of a feature.
|
@NonNull protected final MetaModelManager metaModelManager
protected ImplementationManager(@NonNull MetaModelManager metaModelManager)
public void addClassLoader(@NonNull java.lang.ClassLoader classLoader)
@NonNull public java.util.List<java.lang.ClassLoader> getClassLoaders()
@NonNull protected LibraryOperation getOperationImplementation(@NonNull Operation operation)
@NonNull protected LibraryProperty getPropertyImplementation(@NonNull Property property)
public void dispose()
@Nullable public LibraryFeature loadImplementation(@NonNull Feature feature) throws java.lang.ClassNotFoundException, java.lang.SecurityException, java.lang.NoSuchFieldException, java.lang.IllegalArgumentException, java.lang.IllegalAccessException
feature
- to be implemented.java.lang.ClassNotFoundException
- if the implementation class realising
the implementation is not loadablejava.lang.NoSuchFieldException
- if the implementation class realising
the implementation does not provide a static INSTANCE fieldjava.lang.SecurityException
- if the implementation class is not accessiblejava.lang.IllegalAccessException
- if the implementation class is not accessiblejava.lang.IllegalArgumentException
- if the implementation class is not accessible