/** * Gets the service object. If not retrieved, call {@link #retrieve()}, otherwise returned the cached value. * * @return the service object */ @Override public synchronized <X> X get() { if (service == null) { service = retrieve(); } return cached(); }
/** * Gets the service object. If not retrieved, call {@link #retrieve()}, otherwise returned the cached value. * * @return the service object */ @Override public synchronized <X> X get() { if (service == null) { service = retrieve(); } return cached(); }