Uses of Class
net.odoframework.container.injection.Container
| Package | Description |
|---|---|
| net.odoframework.container | |
| net.odoframework.container.injection |
-
Uses of Container in net.odoframework.container
Methods in net.odoframework.container that return Container Modifier and Type Method Description ContainerModuleBuilder. apply(Container container, Properties properties)ContainerModuleBuilder. getContainer()returns the container associated with this BuilderMethods in net.odoframework.container with parameters of type Container Modifier and Type Method Description protected voidApplication. afterContainerPopulated(Container container)protected voidModuleBuilder. afterContainerPopulated(Container container)Can be used to implement custom logic after theModuleBuilder.build()method is invokedContainerModuleBuilder. apply(Container container, Properties properties)default Supplier<T>Ref. apply(Container container)protected voidApplication. beforeContainerPopulated(Container container)protected voidModuleBuilder. beforeContainerPopulated(Container container)Can be used to implement custom logic before theModuleBuilder.build()method is invokedTRef. get(Container container)protected voidApplication. loadManualModules(Container container)protected voidApplication. loadModule(Container container, Module module)protected voidApplication. postContainerCreated(Container container) -
Uses of Container in net.odoframework.container.injection
Methods in net.odoframework.container.injection that return Container Modifier and Type Method Description static ContainerContainerFactory. create(Properties p)default ContainerConstructor. getContainer()ContainerContainerWrapper. getContainer()static ContainerContainer. getContainerInstance()static ContainerContainer. getModuleContainer()ContainerContainer. register(BeanDefinition<?> beanDefinition)<T extends Consumer<?>>
ContainerContainer. registerEventHandler(Class<?> eventType, BeanDefinition<T> beanDefinition)Methods in net.odoframework.container.injection that return types with arguments of type Container Modifier and Type Method Description static Predicate<Container>Conditions. configEquals(String key, String value)Predicate<Container>BeanDefinition. getCondition()static Predicate<Container>Conditions. isBeanAlreadyPresent(Class<?> type)static Predicate<Container>Conditions. isBeanAlreadyPresent(String name)static Predicate<Container>Conditions. isBeanPresent(Class<?> type)static Predicate<Container>Conditions. isBeanPresent(String name)static Predicate<Container>Conditions. isConfigPresent(String key)Methods in net.odoframework.container.injection with parameters of type Container Modifier and Type Method Description TBeanDefinition. apply(Container container)TComponentReference. get(Container container)StringConfigurationReference. get(Container container)TLiteralRef. get(Container container)StringValueRef. get(Container container)BeanDefinition<T>BeanDefinition. register(Container container)static voidContainer. setContainerInstance(Container singletonContainer)Method parameters in net.odoframework.container.injection with type arguments of type Container Modifier and Type Method Description BeanDefinition<T>BeanDefinition. condition(Predicate<Container> condition)static voidContainer. setContainerBuilder(Supplier<Container> supplier)static voidContainerFactory. setFactory(Function<Properties,Container> factory)Constructors in net.odoframework.container.injection with parameters of type Container Constructor Description ContainerWrapper(Container container)