Package io.jmix.imap.impl
Class AvailableBeansProviderImpl
java.lang.Object
io.jmix.imap.impl.AvailableBeansProviderImpl
- All Implemented Interfaces:
AvailableBeansProvider
@Component("imap_AvailableBeansProvider")
public class AvailableBeansProviderImpl
extends Object
implements AvailableBeansProvider
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected class
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
protected final Map<Class<? extends BaseImapEvent>,
AvailableBeansProviderImpl.EventHandlerBeanMetadata> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetEventHandlers
(Class<? extends BaseImapEvent> eventClass) Return information about beans and their methods that can be attached to IMAP folder event.Return bean names and class names of custom IMAP Event Generators
-
Field Details
-
beanMetas
protected final Map<Class<? extends BaseImapEvent>,AvailableBeansProviderImpl.EventHandlerBeanMetadata> beanMetas -
applicationContext
@Autowired protected org.springframework.context.ApplicationContext applicationContext
-
-
Constructor Details
-
AvailableBeansProviderImpl
public AvailableBeansProviderImpl()
-
-
Method Details
-
getEventHandlers
Description copied from interface:AvailableBeansProvider
Return information about beans and their methods that can be attached to IMAP folder event.- Specified by:
getEventHandlers
in interfaceAvailableBeansProvider
- Returns:
- map of bean names to lists of their methods
-
getEventsGenerators
Description copied from interface:AvailableBeansProvider
Return bean names and class names of custom IMAP Event Generators- Specified by:
getEventsGenerators
in interfaceAvailableBeansProvider
- Returns:
- map of bean name to class name
-