private static void addCalendarTimer(Timer timer, ModelNode timerNode, final String componentName) { try { final ModelNode detailNode = timerNode.get(CALENDAR_TIMER); boolean b = timer.isCalendarTimer(); detailNode.set(b); } catch (IllegalStateException e) { // ignore } catch (NoSuchObjectLocalException e) { // ignore } catch (EJBException e) { logTimerFailure(componentName, e); } }
private static void addCalendarTimer(Timer timer, ModelNode timerNode, final String componentName) { try { final ModelNode detailNode = timerNode.get(CALENDAR_TIMER); boolean b = timer.isCalendarTimer(); detailNode.set(b); } catch (IllegalStateException e) { // ignore } catch (NoSuchObjectLocalException e) { // ignore } catch (EJBException e) { logTimerFailure(componentName, e); } }
configItemCollection.replaceItemValue("statusmessage", msg); if (timer.isCalendarTimer()) { configItemCollection.replaceItemValue("Schedule", timer.getSchedule().toString()); } else {