public interface NutsWorkspaceFactory
| Modifier and Type | Method and Description |
|---|---|
<T> List<T> |
createAll(Class<T> type,
NutsSession session) |
<T extends NutsComponent<V>,V> |
createAllSupported(Class<T> type,
V supportCriteria,
NutsSession session) |
<T extends NutsComponent<V>,V> |
createSupported(Class<T> type,
V supportCriteria,
Class[] constructorParameterTypes,
Object[] constructorParameters,
NutsSession session) |
<T extends NutsComponent<V>,V> |
createSupported(Class<T> type,
V supportCriteria,
NutsSession session) |
Set<Class> |
discoverTypes(NutsId id,
URL url,
ClassLoader bootClassLoader,
Class[] extensionPoints,
NutsSession session) |
Set<Class> |
discoverTypes(NutsId id,
URL url,
ClassLoader bootClassLoader,
NutsSession session) |
List<Object> |
getExtensionObjects(Class extensionPoint) |
Set<Class> |
getExtensionTypes(Class extensionPoint,
NutsSession session) |
boolean |
isRegisteredInstance(Class extensionPointType,
Object extensionImpl,
NutsSession session) |
boolean |
isRegisteredType(Class extensionPointType,
Class extensionType,
NutsSession session) |
boolean |
isRegisteredType(Class extensionPointType,
String name,
NutsSession session) |
<T> void |
registerInstance(Class<T> extensionPoint,
T implementation,
NutsSession session) |
void |
registerType(Class extensionPointType,
Class extensionType,
NutsId source,
NutsSession session) |
Set<Class> discoverTypes(NutsId id, URL url, ClassLoader bootClassLoader, NutsSession session)
Set<Class> discoverTypes(NutsId id, URL url, ClassLoader bootClassLoader, Class[] extensionPoints, NutsSession session)
<T extends NutsComponent<V>,V> T createSupported(Class<T> type, V supportCriteria, NutsSession session)
<T extends NutsComponent<V>,V> T createSupported(Class<T> type, V supportCriteria, Class[] constructorParameterTypes, Object[] constructorParameters, NutsSession session)
<T extends NutsComponent<V>,V> List<T> createAllSupported(Class<T> type, V supportCriteria, NutsSession session)
<T> List<T> createAll(Class<T> type, NutsSession session)
Set<Class> getExtensionTypes(Class extensionPoint, NutsSession session)
boolean isRegisteredType(Class extensionPointType, String name, NutsSession session)
boolean isRegisteredInstance(Class extensionPointType, Object extensionImpl, NutsSession session)
<T> void registerInstance(Class<T> extensionPoint, T implementation, NutsSession session)
void registerType(Class extensionPointType, Class extensionType, NutsId source, NutsSession session)
boolean isRegisteredType(Class extensionPointType, Class extensionType, NutsSession session)
Copyright © 2021 vpc open source initiative. All rights reserved.