Uses of Class
com.ultikits.ultitools.context.SimpleContainer
Packages that use SimpleContainer
Package
Description
-
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 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) SimpleContainer(SimpleContainer parent) -
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 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 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 static <T> voidPluginManager.registerOwnType(SimpleContainer context, T instance) Register an object intocontextkeyed by its own concrete runtime class, in addition to whatever declared-type registration the caller has already done.private voidPluginManager.unwindRefusedExternal(ExternalPluginAdapter adapter, SimpleContainer context, DataScope scope, List<Class<?>> ownershipAdded) Undoes whatPluginManager.registerExternal(ExternalPluginAdapter, Class[])registered before a refusal after the folder scope was recorded (#537): closes the context (ifrefresh()got as far as building one), clears the adapter's context and data scope, removes the entity-ownership records this attempt inserted, and removes the folder scope -- only if it is still this attempt's own scope instance.(package private) static voidPluginManager.validateCommandExecutorContracts(SimpleContainer pluginContext) Refuses to load a module whoseBaseCommandExecutorbean declares@CmdCDor@UsageLimit-- on a@CmdMappingmethod or on the executor class itself -- while its OWN validator chain (the exact chainonCommanddispatches through, 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(com.ultikits.ultitools.context.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(com.ultikits.ultitools.context.SimpleContainer, com.ultikits.ultitools.manager.DataScope, com.ultikits.ultitools.aop.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.