*/
private void startDestinations()
{
for (Iterator iter = destinations.values().iterator(); iter.hasNext(); )
{
Destination destination = (Destination)iter.next();
long timeBeforeStartup = 0;
if (Log.isDebug())
timeBeforeStartup = System.currentTimeMillis();
destination.start();
if (Log.isDebug())
{
long timeAfterStartup = System.currentTimeMillis();
Long diffMillis = new Long(timeAfterStartup - timeBeforeStartup);
Log.getLogger(LOG_CATEGORY_STARTUP_DESTINATION).debug("Destination with id '{0}' is ready (startup time: '{1}' ms)",
new Object[]{destination.getId(), diffMillis});
}
}
}