Package org.openas2.schedule
Interface HasSchedule
-
- All Known Implementing Classes:
AS2SenderModule
,BaseCommandProcessor
,PKCS12CertificateFactory
,SocketCommandProcessor
,StreamCommandProcessor
,XMLPartnershipFactory
public interface HasSchedule
An optional extension ofComponent
which 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 void
schedule(java.util.concurrent.ScheduledExecutorService executor)
-
-
-
Method Detail
-
schedule
void schedule(java.util.concurrent.ScheduledExecutorService executor) throws OpenAS2Exception
- Throws:
OpenAS2Exception
-
-