public class NExtensionTypeInfo<T> extends Object
| Constructor and Description |
|---|
NExtensionTypeInfo(Class<? extends T> implType,
Class<T> apiType,
NExtensionTypeInfoPool pool,
NBeanCache beanCache) |
| Modifier and Type | Method and Description |
|---|---|
Class<T> |
getApiType() |
Class<? extends T> |
getImplType() |
int |
getInstanceScore(Object o,
net.thevpc.nuts.util.NScorableContext supportCriteria) |
net.thevpc.nuts.util.NScorable |
getInstanceScorer(Object o) |
static <T> T |
getOrComputeCachedBean(Class<? extends T> implType,
Class<T> apiType,
net.thevpc.nuts.spi.NScopeType scope,
Supplier<T> supplier) |
int |
getTypeScore(net.thevpc.nuts.util.NScorableContext supportCriteria) |
net.thevpc.nuts.util.NScoredValue<T> |
getTypeScoredInstance(net.thevpc.nuts.util.NScorableContext supportCriteria) |
net.thevpc.nuts.util.NScorable |
getTypeScorer() |
net.thevpc.nuts.log.NLog |
LOG() |
T |
newInstance() |
protected <T> T |
newInstance(Class[] argTypes,
Object[] args,
NBeanConstructorContext context,
boolean doLog) |
T |
resolveInstance() |
<T> T |
resolveInstance(Class<?>[] argTypes,
Object[] args,
NBeanConstructorContext context) |
public NExtensionTypeInfo(Class<? extends T> implType, Class<T> apiType, NExtensionTypeInfoPool pool, NBeanCache beanCache)
public net.thevpc.nuts.log.NLog LOG()
public T newInstance()
public T resolveInstance()
public static <T> T getOrComputeCachedBean(Class<? extends T> implType, Class<T> apiType, net.thevpc.nuts.spi.NScopeType scope, Supplier<T> supplier)
public <T> T resolveInstance(Class<?>[] argTypes, Object[] args, NBeanConstructorContext context)
protected <T> T newInstance(Class[] argTypes, Object[] args, NBeanConstructorContext context, boolean doLog)
public net.thevpc.nuts.util.NScorable getInstanceScorer(Object o)
public int getInstanceScore(Object o, net.thevpc.nuts.util.NScorableContext supportCriteria)
public net.thevpc.nuts.util.NScoredValue<T> getTypeScoredInstance(net.thevpc.nuts.util.NScorableContext supportCriteria)
public net.thevpc.nuts.util.NScorable getTypeScorer()
public int getTypeScore(net.thevpc.nuts.util.NScorableContext supportCriteria)
Copyright © 2026 vpc open source initiative. All rights reserved.