[wildfly-dev] timer service for extension modules?

Stuart Douglas stuart.w.douglas at gmail.com
Sun Feb 22 21:19:36 EST 2015


Not really. There is a timer service that is used by EJB, but it is not
really intended for public consumption.

Creating your own Timer object is the way to go.

Stuart


On Sun Feb 22 2015 at 1:47:54 AM Carl Harris <ceharris414 at me.com> wrote:

> My extension module creates a (MSC) service that needs to get periodic
> timer callbacks to clean up cruft that accumulates while it is being used
> by a deployed application.  I could create a java.util.Timer when the
> service is created and cancel it when the service is removed, but I’m
> wondering of there already a timer service that I should be using for this
> sort of thing.
>
> Thanks for any tips or guidance,
>
> carl
>
>
> _______________________________________________
> wildfly-dev mailing list
> wildfly-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/wildfly-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/wildfly-dev/attachments/20150223/c196a2a6/attachment.html 


More information about the wildfly-dev mailing list