final NotProcessed nc = target.changed(Changed.TYPE.ADD, proxyType(proxy), proxy); if ( nc != null ) { unprocessed.add( new UnprocessedChangeEvent(event, nc.getReason() ) ); final NotProcessed nc = target.changed(Changed.TYPE.REMOVE, proxyType(proxy), proxy ); if ( nc != null ) { unprocessed.add( new UnprocessedChangeEvent(event, nc.getReason() ) ); final NotProcessed nc = target.changed(Changed.TYPE.CHANGE, proxyType(proxy), proxy); if ( nc != null ) { unprocessed.add( new UnprocessedChangeEvent(event, nc.getReason() ) );
public void execute(AdminCommandContext context) { ActionReport report = context.getActionReport(); report.setActionExitCode(ActionReport.ExitCode.SUCCESS); ActionReport.MessagePart mp = report.getTopMessagePart(); Properties extraProperties = new Properties(); Map<String, Object> entity = new HashMap<String, Object>(); mp.setMessage(Boolean.toString(ucl.serverRequiresRestart())); entity.put("restartRequired", Boolean.toString(ucl.serverRequiresRestart())); List<String> unprocessedChanges = new ArrayList<String>(); for (UnprocessedChangeEvents es : ucl.getUnprocessedChangeEvents()) { for (UnprocessedChangeEvent e : es.getUnprocessed()) { if (why) { mp.addChild().setMessage(e.getReason()); } unprocessedChanges.add(e.getReason()); } } if (!unprocessedChanges.isEmpty()) { entity.put("unprocessedChanges", unprocessedChanges); } extraProperties.put("entity", entity); ((ActionReport) report).setExtraProperties(extraProperties); } }
unprocessedEvents.add(new UnprocessedChangeEvent(event, "Restart required to reconfigure EJB Timer Service"));
unprocessedEvents.add(new UnprocessedChangeEvent(event, "Restart required to reconfigure EJB Timer Service"));
eventName); _logger.log(Level.INFO, msg); unprocessedEvents.add(new UnprocessedChangeEvent(event, msg));
final NotProcessed nc = target.changed(Changed.TYPE.ADD, proxyType(proxy), proxy); if ( nc != null ) { unprocessed.add( new UnprocessedChangeEvent(event, nc.getReason() ) ); final NotProcessed nc = target.changed(Changed.TYPE.REMOVE, proxyType(proxy), proxy ); if ( nc != null ) { unprocessed.add( new UnprocessedChangeEvent(event, nc.getReason() ) ); final NotProcessed nc = target.changed(Changed.TYPE.CHANGE, proxyType(proxy), proxy); if ( nc != null ) { unprocessed.add( new UnprocessedChangeEvent(event, nc.getReason() ) );
final NotProcessed nc = target.changed(Changed.TYPE.ADD, proxyType(proxy), proxy); if ( nc != null ) { unprocessed.add( new UnprocessedChangeEvent(event, nc.getReason() ) ); final NotProcessed nc = target.changed(Changed.TYPE.REMOVE, proxyType(proxy), proxy ); if ( nc != null ) { unprocessed.add( new UnprocessedChangeEvent(event, nc.getReason() ) ); final NotProcessed nc = target.changed(Changed.TYPE.CHANGE, proxyType(proxy), proxy); if ( nc != null ) { unprocessed.add( new UnprocessedChangeEvent(event, nc.getReason() ) );
final NotProcessed nc = target.changed(Changed.TYPE.ADD, proxyType(proxy), proxy); if ( nc != null ) { unprocessed.add( new UnprocessedChangeEvent(event, nc.getReason() ) ); final NotProcessed nc = target.changed(Changed.TYPE.REMOVE, proxyType(proxy), proxy ); if ( nc != null ) { unprocessed.add( new UnprocessedChangeEvent(event, nc.getReason() ) ); final NotProcessed nc = target.changed(Changed.TYPE.CHANGE, proxyType(proxy), proxy); if ( nc != null ) { unprocessed.add( new UnprocessedChangeEvent(event, nc.getReason() ) );
final NotProcessed nc = target.changed(Changed.TYPE.ADD, proxyType(proxy), proxy); if ( nc != null ) { unprocessed.add( new UnprocessedChangeEvent(event, nc.getReason() ) ); final NotProcessed nc = target.changed(Changed.TYPE.REMOVE, proxyType(proxy), proxy ); if ( nc != null ) { unprocessed.add( new UnprocessedChangeEvent(event, nc.getReason() ) ); final NotProcessed nc = target.changed(Changed.TYPE.CHANGE, proxyType(proxy), proxy); if ( nc != null ) { unprocessed.add( new UnprocessedChangeEvent(event, nc.getReason() ) );