public class DefaultNExtensions extends Object implements net.thevpc.nuts.ext.NExtensions
| Constructor and Description |
|---|
DefaultNExtensions(NWorkspaceModel wsModel) |
| Modifier and Type | Method and Description |
|---|---|
Set<net.thevpc.nuts.artifact.NId> |
companionIds() |
List<net.thevpc.nuts.artifact.NId> |
configExtensions() |
<T> List<T> |
createAll(Class<T> serviceType) |
<T,V> List<T> |
createAllSupported(Class<T> serviceType,
V criteriaType) |
<T> net.thevpc.nuts.util.NOptional<T> |
createComponent(Class<T> type) |
net.thevpc.nuts.core.NMutableClassLoader |
createMutableClassLoader(ClassLoader parentClassLoader) |
<T,B> net.thevpc.nuts.io.NServiceLoader<T> |
createServiceLoader(Class<T> serviceType,
Class<B> criteriaType) |
<T,B> net.thevpc.nuts.io.NServiceLoader<T> |
createServiceLoader(Class<T> serviceType,
Class<B> criteriaType,
ClassLoader classLoader) |
<T,V> net.thevpc.nuts.util.NOptional<T> |
createSupported(Class<T> serviceType,
V criteriaType) |
Set<Class<?>> |
discoverTypes(net.thevpc.nuts.artifact.NId id,
ClassLoader classLoader) |
<T> List<T> |
getExtensionObjects(Class<T> extensionPoint) |
<T> Set<Class<? extends T>> |
getExtensionTypes(Class<T> extensionPoint) |
<T> net.thevpc.nuts.util.NOptional<net.thevpc.nuts.util.NScorable> |
getInstanceScorable(T instance,
Class<T> apiType) |
<T> net.thevpc.nuts.util.NScoredValue<T> |
getInstanceScoredValue(T instance,
Class<T> apiType,
net.thevpc.nuts.util.NScorableContext scorableContext) |
DefaultNWorkspaceExtensionModel |
getModel() |
<T> net.thevpc.nuts.util.NOptional<net.thevpc.nuts.util.NScorable> |
getTypeScorable(Class<? extends T> implType,
Class<T> apiType) |
<T> net.thevpc.nuts.util.NScoredValue<T> |
getTypeScoredValue(Class<? extends T> implType,
Class<T> apiType,
net.thevpc.nuts.util.NScorableContext scorableContext) |
<T extends net.thevpc.nuts.spi.NComponent> |
installWorkspaceExtensionComponent(Class<T> extensionPointType,
T extensionImpl) |
boolean |
isExcludedExtension(String extensionId,
net.thevpc.nuts.core.NWorkspaceOptions options) |
boolean |
isLoadedExtensions(net.thevpc.nuts.artifact.NId id) |
boolean |
isLoadedId(net.thevpc.nuts.artifact.NId id) |
boolean |
isLoadedId(net.thevpc.nuts.artifact.NId id,
ClassLoader classLoader) |
<T> boolean |
isRegisteredInstance(Class<T> extensionPointType,
T extensionImpl) |
<T> boolean |
isRegisteredType(Class<T> extensionPointType,
Class<? extends T> implementation) |
<T> boolean |
isRegisteredType(Class<T> extensionPointType,
String name) |
List<net.thevpc.nuts.artifact.NId> |
loadedExtensions() |
net.thevpc.nuts.ext.NExtensions |
loadExtension(net.thevpc.nuts.artifact.NId extension) |
<T> boolean |
registerInstance(Class<T> extensionPointType,
T extensionImpl) |
<T> boolean |
registerType(Class<T> extensionPointType,
Class<? extends T> implementation,
net.thevpc.nuts.artifact.NId source) |
net.thevpc.nuts.ext.NExtensions |
unloadExtension(net.thevpc.nuts.artifact.NId extension) |
public DefaultNExtensions(NWorkspaceModel wsModel)
public DefaultNWorkspaceExtensionModel getModel()
public Set<net.thevpc.nuts.artifact.NId> companionIds()
companionIds 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<?>> discoverTypes(net.thevpc.nuts.artifact.NId id, ClassLoader classLoader)
discoverTypes in interface net.thevpc.nuts.ext.NExtensionspublic <T,B> net.thevpc.nuts.io.NServiceLoader<T> createServiceLoader(Class<T> serviceType, Class<B> criteriaType)
createServiceLoader in interface net.thevpc.nuts.ext.NExtensionspublic <T,B> net.thevpc.nuts.io.NServiceLoader<T> createServiceLoader(Class<T> serviceType, Class<B> criteriaType, ClassLoader classLoader)
createServiceLoader in interface net.thevpc.nuts.ext.NExtensionspublic net.thevpc.nuts.core.NMutableClassLoader createMutableClassLoader(ClassLoader parentClassLoader)
createMutableClassLoader in interface net.thevpc.nuts.ext.NExtensionspublic <T> net.thevpc.nuts.util.NOptional<net.thevpc.nuts.util.NScorable> getTypeScorable(Class<? extends T> implType, Class<T> apiType)
getTypeScorable in interface net.thevpc.nuts.ext.NExtensionspublic <T> net.thevpc.nuts.util.NOptional<net.thevpc.nuts.util.NScorable> getInstanceScorable(T instance,
Class<T> apiType)
getInstanceScorable in interface net.thevpc.nuts.ext.NExtensionspublic <T> net.thevpc.nuts.util.NScoredValue<T> getTypeScoredValue(Class<? extends T> implType, Class<T> apiType, net.thevpc.nuts.util.NScorableContext scorableContext)
getTypeScoredValue in interface net.thevpc.nuts.ext.NExtensionspublic <T> net.thevpc.nuts.util.NScoredValue<T> getInstanceScoredValue(T instance,
Class<T> apiType,
net.thevpc.nuts.util.NScorableContext scorableContext)
getInstanceScoredValue in interface net.thevpc.nuts.ext.NExtensionspublic <T> net.thevpc.nuts.util.NOptional<T> createComponent(Class<T> type)
createComponent in interface net.thevpc.nuts.ext.NExtensionspublic <T,V> net.thevpc.nuts.util.NOptional<T> createSupported(Class<T> serviceType, V criteriaType)
createSupported in interface net.thevpc.nuts.ext.NExtensionspublic <T,V> List<T> createAllSupported(Class<T> serviceType, V criteriaType)
createAllSupported in interface net.thevpc.nuts.ext.NExtensionspublic <T> List<T> createAll(Class<T> serviceType)
createAll in interface net.thevpc.nuts.ext.NExtensionspublic <T> Set<Class<? extends T>> getExtensionTypes(Class<T> extensionPoint)
getExtensionTypes in interface net.thevpc.nuts.ext.NExtensionspublic <T> List<T> getExtensionObjects(Class<T> extensionPoint)
getExtensionObjects in interface net.thevpc.nuts.ext.NExtensionspublic <T> boolean isRegisteredType(Class<T> extensionPointType, String name)
isRegisteredType in interface net.thevpc.nuts.ext.NExtensionspublic <T> boolean isRegisteredInstance(Class<T> extensionPointType, T extensionImpl)
isRegisteredInstance in interface net.thevpc.nuts.ext.NExtensionspublic <T> boolean registerInstance(Class<T> extensionPointType, T extensionImpl)
registerInstance in interface net.thevpc.nuts.ext.NExtensionspublic <T> boolean registerType(Class<T> extensionPointType, Class<? extends T> implementation, net.thevpc.nuts.artifact.NId source)
registerType in interface net.thevpc.nuts.ext.NExtensionspublic <T> boolean isRegisteredType(Class<T> extensionPointType, Class<? extends T> implementation)
isRegisteredType in interface net.thevpc.nuts.ext.NExtensionspublic boolean isLoadedExtensions(net.thevpc.nuts.artifact.NId id)
isLoadedExtensions in interface net.thevpc.nuts.ext.NExtensionspublic boolean isLoadedId(net.thevpc.nuts.artifact.NId id)
isLoadedId in interface net.thevpc.nuts.ext.NExtensionspublic boolean isLoadedId(net.thevpc.nuts.artifact.NId id,
ClassLoader classLoader)
isLoadedId in interface net.thevpc.nuts.ext.NExtensionspublic List<net.thevpc.nuts.artifact.NId> loadedExtensions()
loadedExtensions in interface net.thevpc.nuts.ext.NExtensionspublic net.thevpc.nuts.ext.NExtensions loadExtension(net.thevpc.nuts.artifact.NId extension)
loadExtension in interface net.thevpc.nuts.ext.NExtensionspublic net.thevpc.nuts.ext.NExtensions unloadExtension(net.thevpc.nuts.artifact.NId extension)
unloadExtension in interface net.thevpc.nuts.ext.NExtensionspublic List<net.thevpc.nuts.artifact.NId> configExtensions()
configExtensions in interface net.thevpc.nuts.ext.NExtensionspublic boolean isExcludedExtension(String extensionId, net.thevpc.nuts.core.NWorkspaceOptions options)
isExcludedExtension in interface net.thevpc.nuts.ext.NExtensionsCopyright © 2026 vpc open source initiative. All rights reserved.