/** * {@inheritDoc} */ public final void getReferenceSetWithAugmentationAsynch( final T2Reference id, final Set<Class<ExternalReferenceSPI>> ensureTypes, final ReferenceContext context, final ReferenceSetServiceCallback callback) throws ReferenceSetServiceException { checkDao(); checkAugmentor(); Runnable r = new Runnable() { public void run() { try { callback .referenceSetRetrieved(getReferenceSetWithAugmentation( id, ensureTypes, context)); } catch (ReferenceSetServiceException rsse) { callback.referenceSetRetrievalFailed(rsse); } } }; executeRunnable(r); }
/** * {@inheritDoc} */ public final void getReferenceSetWithAugmentationAsynch( final T2Reference id, final Set<Class<ExternalReferenceSPI>> ensureTypes, final ReferenceContext context, final ReferenceSetServiceCallback callback) throws ReferenceSetServiceException { checkDao(); checkAugmentor(); Runnable r = new Runnable() { public void run() { try { callback .referenceSetRetrieved(getReferenceSetWithAugmentation( id, ensureTypes, context)); } catch (ReferenceSetServiceException rsse) { callback.referenceSetRetrievalFailed(rsse); } } }; executeRunnable(r); }
/** * {@inheritDoc} */ public final void getReferenceSetWithAugmentationAsynch( final T2Reference id, final Set<Class<ExternalReferenceSPI>> ensureTypes, final ReferenceContext context, final ReferenceSetServiceCallback callback) throws ReferenceSetServiceException { checkDao(); checkAugmentor(); Runnable r = new Runnable() { public void run() { try { callback .referenceSetRetrieved(getReferenceSetWithAugmentation( id, ensureTypes, context)); } catch (ReferenceSetServiceException rsse) { callback.referenceSetRetrievalFailed(rsse); } } }; executeRunnable(r); }