@Component(value="imap_AvailableBeansProvider") public class AvailableBeansProviderImpl extends java.lang.Object implements AvailableBeansProvider
Modifier and Type | Class and Description |
---|---|
protected class |
AvailableBeansProviderImpl.EventHandlerBeanMetadata |
Modifier and Type | Field and Description |
---|---|
protected org.springframework.context.ApplicationContext |
applicationContext |
protected java.util.Map<java.lang.Class<? extends BaseImapEvent>,AvailableBeansProviderImpl.EventHandlerBeanMetadata> |
beanMetas |
Constructor and Description |
---|
AvailableBeansProviderImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getEventHandlers(java.lang.Class<? extends BaseImapEvent> eventClass)
Return information about beans and their methods that can be attached to IMAP folder event.
|
java.util.Map<java.lang.String,java.lang.String> |
getEventsGenerators()
Return bean names and class names of custom IMAP Event Generators
|
protected final java.util.Map<java.lang.Class<? extends BaseImapEvent>,AvailableBeansProviderImpl.EventHandlerBeanMetadata> beanMetas
@Autowired protected org.springframework.context.ApplicationContext applicationContext
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getEventHandlers(java.lang.Class<? extends BaseImapEvent> eventClass)
AvailableBeansProvider
getEventHandlers
in interface AvailableBeansProvider
public java.util.Map<java.lang.String,java.lang.String> getEventsGenerators()
AvailableBeansProvider
getEventsGenerators
in interface AvailableBeansProvider