110111112113114115116117118119120
if(count.decrementAndGet() == 0) { NamedCallback c = callback.getAndSet(null); if(c != null) { PersistenceBundleManager.unregister(reg.getAndSet(null)); c.callback(name); } } }
122123124125126127128129130131
//We will already be unregistered reg.set(null); NamedCallback c = callback.getAndSet(null); //If there was a callback then call it in case time hasn't run out. if(c != null) { c.callback(name); } } }
111112113114115116117118119120121
if(count.decrementAndGet() == 0) { NamedCallback c = callback.getAndSet(null); if(c != null) { AriesFrameworkUtil.safeUnregisterService(reg.getAndSet(null)); c.callback(name); } } }
123124125126127128129130131132