I have several services:
- example.MailService
- example.LDAPService
- example.SQLService
- example.WebService
- example.ExcelService
annotated wiht @Service tag.
How can i do exclude all services exept one? For example: only use MailService.
I use the next configuration:
<context:component-scan base-package="example">
<context:include-filter type="aspectj" expression="example..MailService*" />
<context:exclude-filter type="aspectj" expression="example..*Service*" />
</context:component-scan>
but, all services are excluded :(
Why all services are excluded if exist one rule for include MailService?
Grettings pacovr