ejb3/src/main/java/org/jboss/as/ejb3/timerservice/TimerServiceImpl.java
@Override
    public Collection<Timer> getAllTimers() throws IllegalStateException, EJBException {
        // query the registry
        if (this.timerServiceRegistry != null) {
            return this.timerServiceRegistry.getAllActiveTimers();
        }
        // if we don't have the registry (shouldn't really happen) which stores the timer services applicable for the EJB module to which
        // this timer service belongs, then let's at least return the active timers that are applicable only for this timer service
        return this.getTimers();
    }
@Override
    public Collection<Timer> getAllTimers() throws IllegalStateException, EJBException {
        // query the registry
        if (this.timerServiceRegistry != null) {
            return this.timerServiceRegistry.getAllActiveTimers();
        }
        // if we don't have the registry (shouldn't really happen) which stores the timer services applicable for the EJB module to which
        // this timer service belongs, then let's at least return the active timers that are applicable only for this timer service
        return this.getTimers();
    }
@ Override public Collection < Timer > getAllTimers ( ) throws IllegalStateException , EJBException { // query the registry if ( this . timerServiceRegistry != null ) { return this . timerServiceRegistry . getAllActiveTimers ( ) ; } // if we don't have the registry (shouldn't really happen) which stores the timer services applicable for the EJB module to which // this timer service belongs, then let's at least return the active timers that are applicable only for this timer service return this . getTimers ( ) ; }
{@inheritDoc}
{