'Timer'Service and 'TimerService'

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

'Timer'Service and 'TimerService'

Carlo de Wolf
Hi guys,

A TimerService in my book is the thing that gets associated with each
EJB. [1]

So the fact that we install a TimerService at boot time [2] is slightly
confusing. So actually we inject a 'Timer'Service in each each
'TimerService' [3].

Can this please get cleaned up a little with the work on AS7-1534 &
AS7-1535?
Not sure what to call the 'Timer'Service though. Maybe
TimerManagementService?

Thanks,

Carlo

[1] http://docs.oracle.com/javaee/6/api/javax/ejb/TimerService.html
[2]
https://github.com/jbossas/jboss-as/blob/a49b9d16c1e9d6678092ead075a3f841ca31703b/ejb3/src/main/java/org/jboss/as/ejb3/subsystem/TimerServiceAdd.java#L111
[3]
https://github.com/jbossas/jboss-as/blob/25b579bee3b70737fc3d4933f8ac2a69a408b4ab/ejb3/src/main/java/org/jboss/as/ejb3/timerservice/TimerServiceImpl.java#L115
[4] https://issues.jboss.org/browse/AS7-1534
[5] https://issues.jboss.org/browse/AS7-1535
_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
Reply | Threaded
Open this post in threaded view
|

Re: 'Timer'Service and 'TimerService'

Stuart Douglas
The problem with changing this name is that this is essentially now part
of the API (/subsystem=ejb3/service=timer-service), and changing this
name would break backwards compatibility.

Stuart

Carlo de Wolf wrote:

> Hi guys,
>
> A TimerService in my book is the thing that gets associated with each
> EJB. [1]
>
> So the fact that we install a TimerService at boot time [2] is slightly
> confusing. So actually we inject a 'Timer'Service in each each
> 'TimerService' [3].
>
> Can this please get cleaned up a little with the work on AS7-1534&
> AS7-1535?
> Not sure what to call the 'Timer'Service though. Maybe
> TimerManagementService?
>
> Thanks,
>
> Carlo
>
> [1] http://docs.oracle.com/javaee/6/api/javax/ejb/TimerService.html
> [2]
> https://github.com/jbossas/jboss-as/blob/a49b9d16c1e9d6678092ead075a3f841ca31703b/ejb3/src/main/java/org/jboss/as/ejb3/subsystem/TimerServiceAdd.java#L111
> [3]
> https://github.com/jbossas/jboss-as/blob/25b579bee3b70737fc3d4933f8ac2a69a408b4ab/ejb3/src/main/java/org/jboss/as/ejb3/timerservice/TimerServiceImpl.java#L115
> [4] https://issues.jboss.org/browse/AS7-1534
> [5] https://issues.jboss.org/browse/AS7-1535
> _______________________________________________
> jboss-as7-dev mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev