public class DefaultNutsWorkspaceExtensionManager extends Object implements net.thevpc.nuts.NutsWorkspaceExtensionManager
| Constructor and Description |
|---|
DefaultNutsWorkspaceExtensionManager(DefaultNutsWorkspaceExtensionModel model) |
| Modifier and Type | Method and Description |
|---|---|
<T> List<T> |
createAll(Class<T> serviceType) |
<T extends net.thevpc.nuts.spi.NutsComponent,V> |
createAllSupported(Class<T> serviceType,
V criteriaType) |
<T extends net.thevpc.nuts.spi.NutsComponent,B> |
createServiceLoader(Class<T> serviceType,
Class<B> criteriaType) |
<T extends net.thevpc.nuts.spi.NutsComponent,B> |
createServiceLoader(Class<T> serviceType,
Class<B> criteriaType,
ClassLoader classLoader) |
<T extends net.thevpc.nuts.spi.NutsComponent,V> |
createSupported(Class<T> serviceType,
boolean required,
V criteriaType) |
Set<Class> |
discoverTypes(net.thevpc.nuts.NutsId id,
ClassLoader classLoader) |
Set<net.thevpc.nuts.NutsId> |
getCompanionIds() |
List<net.thevpc.nuts.NutsId> |
getConfigExtensions() |
List<Object> |
getExtensionObjects(Class extensionPoint) |
Set<Class> |
getExtensionTypes(Class extensionPoint) |
List<net.thevpc.nuts.NutsId> |
getLoadedExtensions() |
DefaultNutsWorkspaceExtensionModel |
getModel() |
net.thevpc.nuts.NutsSession |
getSession() |
boolean |
installWorkspaceExtensionComponent(Class extensionPointType,
Object extensionImpl) |
boolean |
isLoadedExtensions(net.thevpc.nuts.NutsId id) |
boolean |
isRegisteredInstance(Class extensionPointType,
Object extensionImpl) |
boolean |
isRegisteredType(Class extensionPointType,
Class extensionType) |
boolean |
isRegisteredType(Class extensionPointType,
String name) |
net.thevpc.nuts.NutsWorkspaceExtensionManager |
loadExtension(net.thevpc.nuts.NutsId extension) |
boolean |
registerInstance(Class extensionPointType,
Object extensionImpl) |
boolean |
registerType(Class extensionPointType,
Class extensionType,
net.thevpc.nuts.NutsId source) |
net.thevpc.nuts.NutsWorkspaceExtensionManager |
setSession(net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsWorkspaceExtensionManager |
unloadExtension(net.thevpc.nuts.NutsId extension) |
public DefaultNutsWorkspaceExtensionManager(DefaultNutsWorkspaceExtensionModel model)
public DefaultNutsWorkspaceExtensionModel getModel()
public Set<net.thevpc.nuts.NutsId> getCompanionIds()
getCompanionIds in interface net.thevpc.nuts.NutsWorkspaceExtensionManagerpublic boolean installWorkspaceExtensionComponent(Class extensionPointType, Object extensionImpl)
installWorkspaceExtensionComponent in interface net.thevpc.nuts.NutsWorkspaceExtensionManagerpublic Set<Class> discoverTypes(net.thevpc.nuts.NutsId id, ClassLoader classLoader)
discoverTypes in interface net.thevpc.nuts.NutsWorkspaceExtensionManagerpublic <T extends net.thevpc.nuts.spi.NutsComponent,B> net.thevpc.nuts.NutsServiceLoader<T> createServiceLoader(Class<T> serviceType, Class<B> criteriaType)
createServiceLoader in interface net.thevpc.nuts.NutsWorkspaceExtensionManagerpublic <T extends net.thevpc.nuts.spi.NutsComponent,B> net.thevpc.nuts.NutsServiceLoader<T> createServiceLoader(Class<T> serviceType, Class<B> criteriaType, ClassLoader classLoader)
createServiceLoader in interface net.thevpc.nuts.NutsWorkspaceExtensionManagerpublic <T extends net.thevpc.nuts.spi.NutsComponent,V> T createSupported(Class<T> serviceType, boolean required, V criteriaType)
createSupported in interface net.thevpc.nuts.NutsWorkspaceExtensionManagerpublic <T extends net.thevpc.nuts.spi.NutsComponent,V> List<T> createAllSupported(Class<T> serviceType, V criteriaType)
createAllSupported in interface net.thevpc.nuts.NutsWorkspaceExtensionManagerpublic <T> List<T> createAll(Class<T> serviceType)
createAll in interface net.thevpc.nuts.NutsWorkspaceExtensionManagerpublic Set<Class> getExtensionTypes(Class extensionPoint)
getExtensionTypes in interface net.thevpc.nuts.NutsWorkspaceExtensionManagerpublic List<Object> getExtensionObjects(Class extensionPoint)
getExtensionObjects in interface net.thevpc.nuts.NutsWorkspaceExtensionManagerpublic boolean isRegisteredType(Class extensionPointType, String name)
isRegisteredType in interface net.thevpc.nuts.NutsWorkspaceExtensionManagerpublic boolean isRegisteredInstance(Class extensionPointType, Object extensionImpl)
isRegisteredInstance in interface net.thevpc.nuts.NutsWorkspaceExtensionManagerpublic boolean registerInstance(Class extensionPointType, Object extensionImpl)
registerInstance in interface net.thevpc.nuts.NutsWorkspaceExtensionManagerpublic boolean registerType(Class extensionPointType, Class extensionType, net.thevpc.nuts.NutsId source)
registerType in interface net.thevpc.nuts.NutsWorkspaceExtensionManagerpublic boolean isRegisteredType(Class extensionPointType, Class extensionType)
isRegisteredType in interface net.thevpc.nuts.NutsWorkspaceExtensionManagerpublic boolean isLoadedExtensions(net.thevpc.nuts.NutsId id)
isLoadedExtensions in interface net.thevpc.nuts.NutsWorkspaceExtensionManagerpublic List<net.thevpc.nuts.NutsId> getLoadedExtensions()
getLoadedExtensions in interface net.thevpc.nuts.NutsWorkspaceExtensionManagerpublic net.thevpc.nuts.NutsWorkspaceExtensionManager loadExtension(net.thevpc.nuts.NutsId extension)
loadExtension in interface net.thevpc.nuts.NutsWorkspaceExtensionManagerpublic net.thevpc.nuts.NutsWorkspaceExtensionManager unloadExtension(net.thevpc.nuts.NutsId extension)
unloadExtension in interface net.thevpc.nuts.NutsWorkspaceExtensionManagerpublic List<net.thevpc.nuts.NutsId> getConfigExtensions()
getConfigExtensions in interface net.thevpc.nuts.NutsWorkspaceExtensionManagerpublic net.thevpc.nuts.NutsSession getSession()
getSession in interface net.thevpc.nuts.NutsWorkspaceExtensionManagerpublic net.thevpc.nuts.NutsWorkspaceExtensionManager setSession(net.thevpc.nuts.NutsSession session)
setSession in interface net.thevpc.nuts.NutsWorkspaceExtensionManagerCopyright © 2022 vpc open source initiative. All rights reserved.