Şöyle yaparız
//Like the EJB Timer annotation but for other components e.g. CDI Beans (non-persistent)@ApplicationScopedpublic class ScheduledBean {@Schedule(executor="MyExecutor", minute="*/5")public void fiveMinuteRule() {}}
//Like the EJB Timer annotation but for other components e.g. CDI Beans (non-persistent)@ApplicationScopedpublic class ScheduledBean {@Schedule(executor="MyExecutor", minute="*/5")public void fiveMinuteRule() {}}
Örnek Elimizde şöyle bir kod olsun public class SampleRequest { @NotNull LocalDate startDate; @NotNull LocalDate endDate; @AssertT...
Hiç yorum yok:
Yorum Gönder