patientStats.shutdown();
}
private void wireUpProvisionMonitorEventListener(final Object o) throws Exception {
Service s = (Service)o;
ServiceAdmin sAdmin = (ServiceAdmin) s.getAdmin();
ServiceItem items[] = null;
for(ServiceRegistrar sr : sAdmin.getJoinSet()) {
ServiceMatches sm = sr.lookup(new ServiceTemplate(null, new Class[]{ProvisionMonitor.class}, null),
Integer.MAX_VALUE);
if(sm.items!=null && sm.items.length>0) {
items = sm.items;
break;