throws the exception if the instance is not allowed to use this method
 (i.e. the instance is of a bean with bean-managed transactions).</dd>
</dl>
</li>
</ul>
<a name="getTimerService--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTimerService</h4>
<pre><a href="../../jakarta/ejb/TimerService.html" title="interface in jakarta.ejb">TimerService</a>&nbsp;getTimerService()
                      throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.