Uses of Class
com.ultikits.ultitools.context.SimpleContainer
Packages that use SimpleContainer
Package
Description
Framework-owned item rendering and service registration on Paper data components.
Internal catalogue loading, locale selection and Adventure rendering for the text contracts.
-
Uses of SimpleContainer in com.ultikits.ultitools.abstracts
Fields in com.ultikits.ultitools.abstracts declared as SimpleContainerMethods in com.ultikits.ultitools.abstracts with parameters of type SimpleContainerModifier and TypeMethodDescriptionvoidUltiToolsPlugin.setContext(SimpleContainer context) Injects the IoC container created for this plugin. -
Uses of SimpleContainer in com.ultikits.ultitools.aop
Fields in com.ultikits.ultitools.aop declared as SimpleContainerModifier and TypeFieldDescriptionprivate final SimpleContainerExceptionInterceptor.contextContainer used to resolve@ExceptionCatch(handler = "...")beans.Constructors in com.ultikits.ultitools.aop with parameters of type SimpleContainerModifierConstructorDescriptionExceptionInterceptor(List<ExceptionHandler> globalHandlers, SimpleContainer context) Creates an exception interceptor bound to a plugin's container, with its own unsharedAnnotationLookupCache.ExceptionInterceptor(List<ExceptionHandler> globalHandlers, SimpleContainer context, AnnotationLookupCache<ExceptionCatch> lookupCache) Creates an exception interceptor bound to a plugin's container, using a caller-suppliedAnnotationLookupCacheinstead of building its own. -
Uses of SimpleContainer in com.ultikits.ultitools.api
Fields in com.ultikits.ultitools.api declared as SimpleContainer -
Uses of SimpleContainer in com.ultikits.ultitools.context
Fields in com.ultikits.ultitools.context declared as SimpleContainerModifier and TypeFieldDescriptionprivate final SimpleContainerAutowireFactory.containerprivate final SimpleContainerBeanFactory.containerprivate final SimpleContainerComponentScanner.containerprivate final SimpleContainerTestBeanReplacements.containerThe fresh child container, never a server or parent container.private SimpleContainerSimpleContainer.parentMethods in com.ultikits.ultitools.context with parameters of type SimpleContainerModifier and TypeMethodDescriptionprivate static booleanConditionalRegistrationEvaluator.isActuallyRegistered(SimpleContainer context, Class<?> clazz) Whetherclazzis actually present incontextright now -- a real, constructed singleton, not merely a registeredBeanDefinition(D-03).voidSimpleContainer.setParent(SimpleContainer parent) Set parent container.static booleanConditionalRegistrationEvaluator.shouldRegister(Class<?> clazz, SimpleContainer container) Check if a class should be registered based on@ConditionalOnConfig.Constructors in com.ultikits.ultitools.context with parameters of type SimpleContainerModifierConstructorDescriptionAutowireFactory(SimpleContainer container) BeanFactory(SimpleContainer container) ComponentScanner(SimpleContainer container) (package private)ComponentScanner(SimpleContainer container, @Nullable TestBeanReplacements testReplacements) The ordinary scanner has no test replacement plan.SimpleContainer(SimpleContainer parent) (package private)TestBeanReplacements(SimpleContainer container, String module, Map<Class<?>, Object> requests) Called only for a class with replacement requests in an in-process handover. -
Uses of SimpleContainer in com.ultikits.ultitools.item.impl
Methods in com.ultikits.ultitools.item.impl with parameters of type SimpleContainerModifier and TypeMethodDescriptionstatic voidItemServices.register(SimpleContainer root) Binds the renderer, resolving text services only when the renderer is first requested. -
Uses of SimpleContainer in com.ultikits.ultitools.manager
Fields in com.ultikits.ultitools.manager declared as SimpleContainerMethods in com.ultikits.ultitools.manager with parameters of type SimpleContainerModifier and TypeMethodDescriptionprivate voidPluginManager.assemblePluginContainer(SimpleContainer pluginContext, UltiToolsPlugin plugin, Class<? extends UltiToolsPlugin> pluginClass, ClassLoader loader) Assemble a plugin's container.private static voidPluginManager.attachScopeAndWireAop(SimpleContainer context, DataScope scope, Consumer<DataScope> attach) P-06: call before the first component can be created, including dependencies of a configuration class during scanning.private static List<BaseCommandExecutor> PluginManager.baseCommandExecutors(SimpleContainer context) (package private) static voidPluginManager.refuseConfigBindingsOutsideModules(SimpleContainer context) Refuses config-bound@Scheduled/@CmdCDdeclarations in an external plugin's container, which has no module config registry to bind against (#531).private voidCommandManager.registerBeans(Object owner, String ownerName, SimpleContainer context, UltiToolsPlugin module) private static <T> voidPluginManager.registerByOwnType(SimpleContainer context, T instance) Bindsinstanceto its own class incontext's type registry, without assembling it, sogetBean(Class)and by-type@Autowiredresolve it.private TextEngine.ExternalCataloguePluginManager.registerExternalMessages(ExternalPluginAdapter adapter, SimpleContainer context, @Nullable SimpleContainer parent) private voidPluginManager.registerExternalResources(ExternalPluginAdapter adapter, SimpleContainer context) Registers Bukkit-facing resources only after container validation.private static <T> voidPluginManager.registerOwnType(SimpleContainer context, Class<T> type, org.bukkit.plugin.java.JavaPlugin instance) Binds the plugin instance under an exact type from its own class hierarchy.private voidPluginManager.unwindRefusedExternal(ExternalPluginAdapter adapter, SimpleContainer context, @Nullable DataScope scope, List<Class<?>> ownershipAdded, Throwable refused) Releases only this attempt's container, message publication and data ownership.(package private) static voidPluginManager.validateCommandExecutorContracts(SimpleContainer pluginContext) Rejects a module or external plugin whoseBaseCommandExecutorbean declares@CmdCDor@UsageLimit-- on a@CmdMappingmethod or on the executor class itself -- while its OWN validator chain (the exact dispatch chain, not a freshly built default one) holds no instance of the corresponding validator type (SILENT-11 / D-01 half 2, D-04).(package private) static voidPluginManager.validateConfigBindings(UltiToolsPlugin plugin, SimpleContainer pluginContext) Load-time check of a module's config-bound@Scheduledand@CmdCDdeclarations (#531), run right afterPluginManager.validateCommandExecutorContracts(SimpleContainer)and before any Bukkit side effect, so a refusal is module-granular in exactly the same way.(package private) static voidPluginManager.wireAop(SimpleContainer context, DataScope scope) Attaches AOP to a plugin container.private static voidPluginManager.wireJsonTransactional(SimpleContainer context, DataScope scope, AopProxyResolver resolver, JsonStore jsonStore) Builds and registers the@Transactionaladvisor for a plugin container backed by the JSON store, oncePluginManager.wireTransactional(SimpleContainer, DataScope, AopProxyResolver)has determineddataStorecannot supply a JDBCDataSourcebut is aJsonStore(02-05, D-03).private static voidPluginManager.wireTransactional(SimpleContainer context, DataScope scope, AopProxyResolver resolver) Builds and registers the@Transactionaladvisor for one plugin container. -
Uses of SimpleContainer in com.ultikits.ultitools.text.internal
Methods in com.ultikits.ultitools.text.internal that return SimpleContainer