private void sendBusCreatedToBusCreationListeners() {
ServiceReference refs[] = getServiceReferences(defaultContext, BusCreationListener.class);
for (ServiceReference ref : refs) {
if (!isPrivate(ref) && !isExcluded(ref)) {
BusCreationListener listener = (BusCreationListener)defaultContext.getService(ref);
listener.busCreated(bus);
}
}
}
private void registerServerLifecycleListeners() {