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