private String[] listTimers( String[] serverIds ) {
String[] result = new String[serverIds.length];
if (EJBTimerService.isEJBTimerServiceLoaded()) {
EJBTimerService ejbTimerService = EJBTimerService.getEJBTimerService();
if (ejbTimerService != null) {
result = ejbTimerService.listTimers( serverIds );
}
} else {
//FIXME: Should throw IllegalStateException
for (int i=0; i<serverIds.length; i++) {
result[i] = "0";