Notify the main servicegroup about the server entry. If ondemand
initialization is switched off, no entry event (other than the
one special STARTUP event) will be processed.
if (server.isOnDemandOff() == true &&
context.getEntryPointType() != EntryPoint.STARTUP) {
return;
}
context.setServerContext(server.getServerContext());
try {
this.server.getServiceGroup().start(context);
} catch (Exception e) {
_logger.log(Level.SEVERE, e.getMessage(), e);
throw new RuntimeException(e);
}
Iterator it = listeners.iterator();
while (it.hasNext()) {
ServerEntryListener listener = (ServerEntryListener) it.next();
listener.notifyEntry(context);
}