public class DefaultNWorkspaceExtensionModel extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultNWorkspaceExtensionModel.ExtensionCacheNode |
static class |
DefaultNWorkspaceExtensionModel.RegInfo |
| Constructor and Description |
|---|
DefaultNWorkspaceExtensionModel(net.thevpc.nuts.core.NWorkspace workspace,
net.thevpc.nuts.boot.NBootWorkspaceFactory bootFactory,
List<String> excludedExtensions) |
| Modifier and Type | Method and Description |
|---|---|
protected net.thevpc.nuts.log.NLog |
_LOG() |
List<DefaultNWorkspaceExtensionModel.RegInfo> |
buildRegInfos() |
<T> List<T> |
createAll(Class<T> type) |
<T,V> List<T> |
createAllSupported(Class<T> type,
V supportCriteria) |
<T extends net.thevpc.nuts.spi.NComponent> |
createFirst(Class<T> type) |
<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> type,
V supportCriteria) |
net.thevpc.nuts.io.NTerminal |
createTerminal(net.thevpc.nuts.spi.NTerminalSpec spec) |
Set<Class<?>> |
discoverTypes(net.thevpc.nuts.artifact.NId id,
ClassLoader classLoader) |
protected URL |
expandURL(String url) |
List<net.thevpc.nuts.ext.NExtensionInformation> |
findExtensions(net.thevpc.nuts.artifact.NId id,
String extensionType) |
List<net.thevpc.nuts.ext.NExtensionInformation> |
findExtensions(String id,
String extensionType) |
List<net.thevpc.nuts.ext.NExtensionInformation> |
findWorkspaceExtensions() |
List<net.thevpc.nuts.ext.NExtensionInformation> |
findWorkspaceExtensions(String version) |
List<net.thevpc.nuts.artifact.NId> |
getConfigExtensions() |
<T> List<T> |
getExtensionObjects(Class<T> extensionPoint) |
String[] |
getExtensionRepositoryLocations(net.thevpc.nuts.artifact.NId appId) |
<T> Set<Class<? extends T>> |
getExtensionTypes(Class<T> extensionPoint) |
URL[] |
getExtensionURLLocations(net.thevpc.nuts.artifact.NId nutsId,
String appId,
String extensionType) |
List<net.thevpc.nuts.artifact.NId> |
getLoadedExtensions() |
DefaultNClassLoader |
getNutsURLClassLoader(String name,
ClassLoader parent) |
NWorkspaceFactory |
getObjectFactory() |
net.thevpc.nuts.core.NWorkspace |
getWorkspace() |
net.thevpc.nuts.core.NWorkspaceExtension[] |
getWorkspaceExtensions() |
<T extends net.thevpc.nuts.spi.NComponent> |
installWorkspaceExtensionComponent(Class<T> extensionPointType,
T extensionImpl) |
boolean |
isExcludedExtension(net.thevpc.nuts.artifact.NId excluded) |
boolean |
isLoadedExtensions(net.thevpc.nuts.artifact.NId id) |
<T> boolean |
isRegisteredInstance(Class<T> extensionPointType,
T extensionImpl) |
<T> boolean |
isRegisteredType(Class<T> extensionPointType,
String name) |
boolean |
isRegisteredType(Class extensionPointType,
Class extensionType) |
void |
loadExtension(net.thevpc.nuts.artifact.NId extension) |
void |
loadExtensions(net.thevpc.nuts.artifact.NId... extensions) |
void |
onInitializeWorkspace(net.thevpc.nuts.core.NBootOptions bOptions,
ClassLoader bootClassLoader) |
<T> boolean |
registerInstance(Class<T> extensionPointType,
T extensionImpl) |
boolean |
registerType(Class extensionPointType,
Class extensionType,
net.thevpc.nuts.artifact.NId source) |
List<Class<? extends net.thevpc.nuts.spi.NComponent>> |
resolveComponentTypes(Class<?> o) |
void |
setExcludedExtensions(List<String> excluded) |
void |
unloadExtension(net.thevpc.nuts.artifact.NId extension) |
void |
unloadExtensions(net.thevpc.nuts.artifact.NId[] extensions) |
net.thevpc.nuts.core.NWorkspaceExtension |
wireExtension(net.thevpc.nuts.artifact.NId id,
net.thevpc.nuts.command.NFetch options) |
protected net.thevpc.nuts.log.NLog _LOG()
public boolean isExcludedExtension(net.thevpc.nuts.artifact.NId excluded)
public List<net.thevpc.nuts.ext.NExtensionInformation> findWorkspaceExtensions()
public List<net.thevpc.nuts.ext.NExtensionInformation> findWorkspaceExtensions(String version)
public List<net.thevpc.nuts.ext.NExtensionInformation> findExtensions(String id, String extensionType)
public List<net.thevpc.nuts.ext.NExtensionInformation> findExtensions(net.thevpc.nuts.artifact.NId id, String extensionType)
public List<DefaultNWorkspaceExtensionModel.RegInfo> buildRegInfos()
public void onInitializeWorkspace(net.thevpc.nuts.core.NBootOptions bOptions,
ClassLoader bootClassLoader)
public <T extends net.thevpc.nuts.spi.NComponent> boolean installWorkspaceExtensionComponent(Class<T> extensionPointType, T extensionImpl)
public Set<Class<?>> discoverTypes(net.thevpc.nuts.artifact.NId id, ClassLoader classLoader)
public <T,B> net.thevpc.nuts.io.NServiceLoader<T> createServiceLoader(Class<T> serviceType, Class<B> criteriaType)
public <T,B> net.thevpc.nuts.io.NServiceLoader<T> createServiceLoader(Class<T> serviceType, Class<B> criteriaType, ClassLoader classLoader)
public <T,V> net.thevpc.nuts.util.NOptional<T> createSupported(Class<T> type, V supportCriteria)
public <T> boolean isRegisteredInstance(Class<T> extensionPointType, T extensionImpl)
public <T> boolean registerInstance(Class<T> extensionPointType, T extensionImpl)
public boolean registerType(Class extensionPointType, Class extensionType, net.thevpc.nuts.artifact.NId source)
public boolean isLoadedExtensions(net.thevpc.nuts.artifact.NId id)
public List<net.thevpc.nuts.artifact.NId> getLoadedExtensions()
public void loadExtension(net.thevpc.nuts.artifact.NId extension)
public void unloadExtension(net.thevpc.nuts.artifact.NId extension)
public List<net.thevpc.nuts.artifact.NId> getConfigExtensions()
public void loadExtensions(net.thevpc.nuts.artifact.NId... extensions)
public void unloadExtensions(net.thevpc.nuts.artifact.NId[] extensions)
public net.thevpc.nuts.core.NWorkspaceExtension[] getWorkspaceExtensions()
public net.thevpc.nuts.core.NWorkspaceExtension wireExtension(net.thevpc.nuts.artifact.NId id,
net.thevpc.nuts.command.NFetch options)
public List<Class<? extends net.thevpc.nuts.spi.NComponent>> resolveComponentTypes(Class<?> o)
public net.thevpc.nuts.io.NTerminal createTerminal(net.thevpc.nuts.spi.NTerminalSpec spec)
public URL[] getExtensionURLLocations(net.thevpc.nuts.artifact.NId nutsId, String appId, String extensionType)
public String[] getExtensionRepositoryLocations(net.thevpc.nuts.artifact.NId appId)
public DefaultNClassLoader getNutsURLClassLoader(String name, ClassLoader parent)
public net.thevpc.nuts.core.NWorkspace getWorkspace()
public <T extends net.thevpc.nuts.spi.NComponent> T createFirst(Class<T> type)
public NWorkspaceFactory getObjectFactory()
Copyright © 2026 vpc open source initiative. All rights reserved.