public class DefaultNutsWorkspaceExtensionModel extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultNutsWorkspaceExtensionModel.RegInfo |
| Constructor and Description |
|---|
DefaultNutsWorkspaceExtensionModel(net.thevpc.nuts.NutsWorkspace ws,
net.thevpc.nuts.spi.NutsBootWorkspaceFactory bootFactory,
String[] excludedExtensions,
net.thevpc.nuts.NutsSession bootSession) |
| Modifier and Type | Method and Description |
|---|---|
protected net.thevpc.nuts.NutsLogger |
_LOG(net.thevpc.nuts.NutsSession session) |
protected net.thevpc.nuts.NutsLoggerOp |
_LOGOP(net.thevpc.nuts.NutsSession session) |
List<DefaultNutsWorkspaceExtensionModel.RegInfo> |
buildRegInfos(net.thevpc.nuts.NutsSession session) |
<T> List<T> |
createAll(Class<T> type,
net.thevpc.nuts.NutsSession session) |
<T extends net.thevpc.nuts.spi.NutsComponent,V> |
createAllSupported(Class<T> type,
V supportCriteria,
net.thevpc.nuts.NutsSession session) |
<T> T |
createFirst(Class<T> type,
net.thevpc.nuts.NutsSession session) |
<T extends net.thevpc.nuts.spi.NutsComponent,B> |
createServiceLoader(Class<T> serviceType,
Class<B> criteriaType,
ClassLoader classLoader,
net.thevpc.nuts.NutsSession session) |
<T extends net.thevpc.nuts.spi.NutsComponent,B> |
createServiceLoader(Class<T> serviceType,
Class<B> criteriaType,
net.thevpc.nuts.NutsSession session) |
<T extends net.thevpc.nuts.spi.NutsComponent,V> |
createSupported(Class<T> type,
V supportCriteria,
boolean required,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsSessionTerminal |
createTerminal(net.thevpc.nuts.spi.NutsTerminalSpec spec,
net.thevpc.nuts.NutsSession session) |
Set<Class> |
discoverTypes(net.thevpc.nuts.NutsId id,
ClassLoader classLoader,
net.thevpc.nuts.NutsSession session) |
protected URL |
expandURL(String url,
net.thevpc.nuts.NutsSession session) |
List<net.thevpc.nuts.NutsExtensionInformation> |
findExtensions(net.thevpc.nuts.NutsId id,
String extensionType,
net.thevpc.nuts.NutsSession session) |
List<net.thevpc.nuts.NutsExtensionInformation> |
findExtensions(String id,
String extensionType,
net.thevpc.nuts.NutsSession session) |
List<net.thevpc.nuts.NutsExtensionInformation> |
findWorkspaceExtensions(net.thevpc.nuts.NutsSession session) |
List<net.thevpc.nuts.NutsExtensionInformation> |
findWorkspaceExtensions(String version,
net.thevpc.nuts.NutsSession session) |
List<net.thevpc.nuts.NutsId> |
getConfigExtensions(net.thevpc.nuts.NutsSession session) |
List<Object> |
getExtensionObjects(Class extensionPoint,
net.thevpc.nuts.NutsSession session) |
String[] |
getExtensionRepositoryLocations(net.thevpc.nuts.NutsId appId) |
Set<Class> |
getExtensionTypes(Class extensionPoint,
net.thevpc.nuts.NutsSession session) |
URL[] |
getExtensionURLLocations(net.thevpc.nuts.NutsId nutsId,
String appId,
String extensionType,
net.thevpc.nuts.NutsSession session) |
List<net.thevpc.nuts.NutsId> |
getLoadedExtensions(net.thevpc.nuts.NutsSession session) |
DefaultNutsClassLoader |
getNutsURLClassLoader(String name,
ClassLoader parent,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsWorkspace |
getWorkspace() |
net.thevpc.nuts.NutsWorkspaceExtension[] |
getWorkspaceExtensions() |
boolean |
installWorkspaceExtensionComponent(Class extensionPointType,
Object extensionImpl,
net.thevpc.nuts.NutsSession session) |
boolean |
isExcludedExtension(net.thevpc.nuts.NutsId excluded) |
boolean |
isLoadedExtensions(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session) |
boolean |
isRegisteredInstance(Class extensionPointType,
Object extensionImpl,
net.thevpc.nuts.NutsSession session) |
boolean |
isRegisteredType(Class extensionPointType,
Class extensionType,
net.thevpc.nuts.NutsSession session) |
boolean |
isRegisteredType(Class extensionPointType,
String name,
net.thevpc.nuts.NutsSession session) |
void |
loadExtension(net.thevpc.nuts.NutsId extension,
net.thevpc.nuts.NutsSession session) |
void |
loadExtensions(net.thevpc.nuts.NutsSession session,
net.thevpc.nuts.NutsId... extensions) |
void |
onInitializeWorkspace(CoreNutsBootOptions bOptions,
ClassLoader bootClassLoader,
net.thevpc.nuts.NutsSession session) |
boolean |
registerInstance(Class extensionPointType,
Object extensionImpl,
net.thevpc.nuts.NutsSession session) |
boolean |
registerType(Class extensionPointType,
Class extensionType,
net.thevpc.nuts.NutsId source,
net.thevpc.nuts.NutsSession session) |
List<Class> |
resolveComponentTypes(Class o) |
void |
setExcludedExtensions(String[] excluded,
net.thevpc.nuts.NutsSession session) |
void |
unloadExtension(net.thevpc.nuts.NutsId extension,
net.thevpc.nuts.NutsSession session) |
void |
unloadExtensions(net.thevpc.nuts.NutsId[] extensions,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsWorkspaceExtension |
wireExtension(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsFetchCommand options) |
public DefaultNutsWorkspaceExtensionModel(net.thevpc.nuts.NutsWorkspace ws,
net.thevpc.nuts.spi.NutsBootWorkspaceFactory bootFactory,
String[] excludedExtensions,
net.thevpc.nuts.NutsSession bootSession)
protected net.thevpc.nuts.NutsLoggerOp _LOGOP(net.thevpc.nuts.NutsSession session)
protected net.thevpc.nuts.NutsLogger _LOG(net.thevpc.nuts.NutsSession session)
public boolean isExcludedExtension(net.thevpc.nuts.NutsId excluded)
public void setExcludedExtensions(String[] excluded, net.thevpc.nuts.NutsSession session)
public List<net.thevpc.nuts.NutsExtensionInformation> findWorkspaceExtensions(net.thevpc.nuts.NutsSession session)
public List<net.thevpc.nuts.NutsExtensionInformation> findWorkspaceExtensions(String version, net.thevpc.nuts.NutsSession session)
public List<net.thevpc.nuts.NutsExtensionInformation> findExtensions(String id, String extensionType, net.thevpc.nuts.NutsSession session)
public List<net.thevpc.nuts.NutsExtensionInformation> findExtensions(net.thevpc.nuts.NutsId id, String extensionType, net.thevpc.nuts.NutsSession session)
public List<DefaultNutsWorkspaceExtensionModel.RegInfo> buildRegInfos(net.thevpc.nuts.NutsSession session)
public void onInitializeWorkspace(CoreNutsBootOptions bOptions, ClassLoader bootClassLoader, net.thevpc.nuts.NutsSession session)
public boolean installWorkspaceExtensionComponent(Class extensionPointType, Object extensionImpl, net.thevpc.nuts.NutsSession session)
public Set<Class> discoverTypes(net.thevpc.nuts.NutsId id, ClassLoader classLoader, net.thevpc.nuts.NutsSession session)
public <T extends net.thevpc.nuts.spi.NutsComponent,B> net.thevpc.nuts.NutsServiceLoader<T> createServiceLoader(Class<T> serviceType, Class<B> criteriaType, net.thevpc.nuts.NutsSession session)
public <T extends net.thevpc.nuts.spi.NutsComponent,B> net.thevpc.nuts.NutsServiceLoader<T> createServiceLoader(Class<T> serviceType, Class<B> criteriaType, ClassLoader classLoader, net.thevpc.nuts.NutsSession session)
public <T extends net.thevpc.nuts.spi.NutsComponent,V> T createSupported(Class<T> type, V supportCriteria, boolean required, net.thevpc.nuts.NutsSession session)
public <T extends net.thevpc.nuts.spi.NutsComponent,V> List<T> createAllSupported(Class<T> type, V supportCriteria, net.thevpc.nuts.NutsSession session)
public Set<Class> getExtensionTypes(Class extensionPoint, net.thevpc.nuts.NutsSession session)
public List<Object> getExtensionObjects(Class extensionPoint, net.thevpc.nuts.NutsSession session)
public boolean isRegisteredType(Class extensionPointType, String name, net.thevpc.nuts.NutsSession session)
public boolean isRegisteredInstance(Class extensionPointType, Object extensionImpl, net.thevpc.nuts.NutsSession session)
public boolean registerInstance(Class extensionPointType, Object extensionImpl, net.thevpc.nuts.NutsSession session)
public boolean registerType(Class extensionPointType, Class extensionType, net.thevpc.nuts.NutsId source, net.thevpc.nuts.NutsSession session)
public boolean isRegisteredType(Class extensionPointType, Class extensionType, net.thevpc.nuts.NutsSession session)
public boolean isLoadedExtensions(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session)
public List<net.thevpc.nuts.NutsId> getLoadedExtensions(net.thevpc.nuts.NutsSession session)
public void loadExtension(net.thevpc.nuts.NutsId extension,
net.thevpc.nuts.NutsSession session)
public void unloadExtension(net.thevpc.nuts.NutsId extension,
net.thevpc.nuts.NutsSession session)
public List<net.thevpc.nuts.NutsId> getConfigExtensions(net.thevpc.nuts.NutsSession session)
public void loadExtensions(net.thevpc.nuts.NutsSession session,
net.thevpc.nuts.NutsId... extensions)
public void unloadExtensions(net.thevpc.nuts.NutsId[] extensions,
net.thevpc.nuts.NutsSession session)
public net.thevpc.nuts.NutsWorkspaceExtension[] getWorkspaceExtensions()
public net.thevpc.nuts.NutsWorkspaceExtension wireExtension(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsFetchCommand options)
public net.thevpc.nuts.NutsSessionTerminal createTerminal(net.thevpc.nuts.spi.NutsTerminalSpec spec,
net.thevpc.nuts.NutsSession session)
public URL[] getExtensionURLLocations(net.thevpc.nuts.NutsId nutsId, String appId, String extensionType, net.thevpc.nuts.NutsSession session)
public String[] getExtensionRepositoryLocations(net.thevpc.nuts.NutsId appId)
public DefaultNutsClassLoader getNutsURLClassLoader(String name, ClassLoader parent, net.thevpc.nuts.NutsSession session)
public net.thevpc.nuts.NutsWorkspace getWorkspace()
public <T> T createFirst(Class<T> type, net.thevpc.nuts.NutsSession session)
Copyright © 2022 vpc open source initiative. All rights reserved.