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