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,
NScorableContext supportCriteria) |
NScorable |
getInstanceScorer(Object o) |
static <T> T |
getOrComputeCachedBean(Class<? extends T> implType,
Class<T> apiType,
NScopeType scope,
Supplier<T> supplier) |
int |
getTypeScore(NScorableContext supportCriteria) |
NScoredValue<T> |
getTypeScoredInstance(NScorableContext supportCriteria) |
NScorable |
getTypeScorer() |
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 NLog LOG()
public T newInstance()
public T resolveInstance()
public static <T> T getOrComputeCachedBean(Class<? extends T> implType, Class<T> apiType, 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 int getInstanceScore(Object o, NScorableContext supportCriteria)
public NScoredValue<T> getTypeScoredInstance(NScorableContext supportCriteria)
public NScorable getTypeScorer()
public int getTypeScore(NScorableContext supportCriteria)
Copyright © 2026 vpc open source initiative. All rights reserved.