public class DefaultNExtensions extends Object implements NExtensions
| Constructor and Description |
|---|
DefaultNExtensions(NWorkspaceModel wsModel) |
| Modifier and Type | Method and Description |
|---|---|
<T extends NComponent> |
createAll(Class<T> serviceType) |
<T extends NComponent> |
createComponent(Class<T> type) |
<T extends NComponent,V> |
createComponent(Class<T> serviceType,
V criteriaType) |
<T extends NComponent,V> |
createComponents(Class<T> serviceType,
V criteriaType) |
<T extends NComponent,B> |
createServiceLoader(Class<T> serviceType,
Class<B> criteriaType) |
<T extends NComponent,B> |
createServiceLoader(Class<T> serviceType,
Class<B> criteriaType,
ClassLoader classLoader) |
Set<Class<? extends NComponent>> |
discoverTypes(NId id,
ClassLoader classLoader) |
Set<NId> |
getCompanionIds() |
List<NId> |
getConfigExtensions() |
<T extends NComponent> |
getExtensionObjects(Class<T> extensionPoint) |
<T extends NComponent> |
getExtensionTypes(Class<T> extensionPoint) |
List<NId> |
getLoadedExtensions() |
DefaultNWorkspaceExtensionModel |
getModel() |
int |
getSupportLevel(NSupportLevelContext context) |
<T extends NComponent> |
installWorkspaceExtensionComponent(Class<T> extensionPointType,
T extensionImpl) |
boolean |
isExcludedExtension(String extensionId,
NWorkspaceOptions options) |
boolean |
isLoadedExtensions(NId id) |
boolean |
isLoadedId(NId id) |
boolean |
isLoadedId(NId id,
ClassLoader classLoader) |
<T extends NComponent> |
isRegisteredInstance(Class<T> extensionPointType,
T extensionImpl) |
<T extends NComponent> |
isRegisteredType(Class<T> extensionPointType,
Class<? extends T> implementation) |
<T extends NComponent> |
isRegisteredType(Class<T> extensionPointType,
String name) |
NExtensions |
loadExtension(NId extension) |
<T extends NComponent> |
registerInstance(Class<T> extensionPointType,
T extensionImpl) |
<T extends NComponent> |
registerType(Class<T> extensionPointType,
Class<? extends T> implementation,
NId source) |
NExtensions |
unloadExtension(NId extension) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget, get, of, ofpublic DefaultNExtensions(NWorkspaceModel wsModel)
public int getSupportLevel(NSupportLevelContext context)
getSupportLevel in interface NComponentpublic DefaultNWorkspaceExtensionModel getModel()
public Set<NId> getCompanionIds()
getCompanionIds in interface NExtensionspublic <T extends NComponent> boolean installWorkspaceExtensionComponent(Class<T> extensionPointType, T extensionImpl)
installWorkspaceExtensionComponent in interface NExtensionspublic Set<Class<? extends NComponent>> discoverTypes(NId id, ClassLoader classLoader)
discoverTypes in interface NExtensionspublic <T extends NComponent,B> NServiceLoader<T> createServiceLoader(Class<T> serviceType, Class<B> criteriaType)
createServiceLoader in interface NExtensionspublic <T extends NComponent,B> NServiceLoader<T> createServiceLoader(Class<T> serviceType, Class<B> criteriaType, ClassLoader classLoader)
createServiceLoader in interface NExtensionspublic <T extends NComponent> NOptional<T> createComponent(Class<T> type)
createComponent in interface NExtensionspublic <T extends NComponent,V> NOptional<T> createComponent(Class<T> serviceType, V criteriaType)
createComponent in interface NExtensionspublic <T extends NComponent,V> List<T> createComponents(Class<T> serviceType, V criteriaType)
createComponents in interface NExtensionspublic <T extends NComponent> List<T> createAll(Class<T> serviceType)
createAll in interface NExtensionspublic <T extends NComponent> Set<Class<? extends T>> getExtensionTypes(Class<T> extensionPoint)
getExtensionTypes in interface NExtensionspublic <T extends NComponent> List<T> getExtensionObjects(Class<T> extensionPoint)
getExtensionObjects in interface NExtensionspublic <T extends NComponent> boolean isRegisteredType(Class<T> extensionPointType, String name)
isRegisteredType in interface NExtensionspublic <T extends NComponent> boolean isRegisteredInstance(Class<T> extensionPointType, T extensionImpl)
isRegisteredInstance in interface NExtensionspublic <T extends NComponent> boolean registerInstance(Class<T> extensionPointType, T extensionImpl)
registerInstance in interface NExtensionspublic <T extends NComponent> boolean registerType(Class<T> extensionPointType, Class<? extends T> implementation, NId source)
registerType in interface NExtensionspublic <T extends NComponent> boolean isRegisteredType(Class<T> extensionPointType, Class<? extends T> implementation)
isRegisteredType in interface NExtensionspublic boolean isLoadedExtensions(NId id)
isLoadedExtensions in interface NExtensionspublic boolean isLoadedId(NId id)
isLoadedId in interface NExtensionspublic boolean isLoadedId(NId id, ClassLoader classLoader)
isLoadedId in interface NExtensionspublic List<NId> getLoadedExtensions()
getLoadedExtensions in interface NExtensionspublic NExtensions loadExtension(NId extension)
loadExtension in interface NExtensionspublic NExtensions unloadExtension(NId extension)
unloadExtension in interface NExtensionspublic List<NId> getConfigExtensions()
getConfigExtensions in interface NExtensionspublic boolean isExcludedExtension(String extensionId, NWorkspaceOptions options)
isExcludedExtension in interface NExtensionsCopyright © 2025 vpc open source initiative. All rights reserved.