Package org.openas2.schedule
Interface HasSchedule
-
- All Known Implementing Classes:
AS2SenderModule,BaseCommandProcessor,PKCS12CertificateFactory,RestCommandProcessor,SocketCommandProcessor,StreamCommandProcessor,XMLPartnershipFactory
public interface HasScheduleAn optional extension ofComponentwhich allow to schedule tasks on scheduler. In case when a component requires to do a periodical work, e.g. directory polling, file change monitoring, this interface could be used instead of threads or timers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidschedule(java.util.concurrent.ScheduledExecutorService executor)
-
-
-
Method Detail
-
schedule
void schedule(java.util.concurrent.ScheduledExecutorService executor) throws OpenAS2Exception- Throws:
OpenAS2Exception
-
-