/** * Wraps the synchronous form, using the executeRunnable method to schedule * it. */ public void resolveIdentifierAsynch(final T2Reference id, final Set<Class<ExternalReferenceSPI>> ensureTypes, final ReferenceContext context, final ReferenceServiceResolutionCallback callback) throws ReferenceServiceException { checkServices(); Runnable r = new Runnable() { public void run() { try { callback.identifierResolved(resolveIdentifier(id, ensureTypes, context)); } catch (ReferenceServiceException rse) { callback.resolutionFailed(rse); } } }; executeRunnable(r); }
public final ListService getListService() { checkServices(); return this.listService; }
public void run() { try { callback.identifierResolved(resolveIdentifier(id, ensureTypes, context)); } catch (ReferenceServiceException rse) { callback.resolutionFailed(rse); } } };
public final ListService getListService() { checkServices(); return this.listService; }
public void run() { try { callback.identifierResolved(resolveIdentifier(id, ensureTypes, context)); } catch (ReferenceServiceException rse) { callback.resolutionFailed(rse); } } };
/** * Wraps the synchronous form, using the executeRunnable method to schedule * it. */ public void resolveIdentifierAsynch(final T2Reference id, final Set<Class<ExternalReferenceSPI>> ensureTypes, final ReferenceContext context, final ReferenceServiceResolutionCallback callback) throws ReferenceServiceException { checkServices(); Runnable r = new Runnable() { public void run() { try { callback.identifierResolved(resolveIdentifier(id, ensureTypes, context)); } catch (ReferenceServiceException rse) { callback.resolutionFailed(rse); } } }; executeRunnable(r); }
public final ErrorDocumentService getErrorDocumentService() { checkServices(); return this.errorDocumentService; }
public void run() { try { callback.identifierResolved(resolveIdentifier(id, ensureTypes, context)); } catch (ReferenceServiceException rse) { callback.resolutionFailed(rse); } } };
/** * Wraps the synchronous form, using the executeRunnable method to schedule * it. */ public void resolveIdentifierAsynch(final T2Reference id, final Set<Class<ExternalReferenceSPI>> ensureTypes, final ReferenceContext context, final ReferenceServiceResolutionCallback callback) throws ReferenceServiceException { checkServices(); Runnable r = new Runnable() { public void run() { try { callback.identifierResolved(resolveIdentifier(id, ensureTypes, context)); } catch (ReferenceServiceException rse) { callback.resolutionFailed(rse); } } }; executeRunnable(r); }
public final ErrorDocumentService getErrorDocumentService() { checkServices(); return this.errorDocumentService; }
public final ErrorDocumentService getErrorDocumentService() { checkServices(); return this.errorDocumentService; }
public final ReferenceSetService getReferenceSetService() { checkServices(); return this.referenceSetService; }
public final ReferenceSetService getReferenceSetService() { checkServices(); return this.referenceSetService; }
public final ReferenceSetService getReferenceSetService() { checkServices(); return this.referenceSetService; }
public final ListService getListService() { checkServices(); return this.listService; }