/** * Return the native delegate. */ public FetchConfiguration getInnermostDelegate() { return (_del == null) ? _fetch : _del.getInnermostDelegate(); }
/** * Return the native delegate. */ public FetchConfiguration getInnermostDelegate() { return (_del == null) ? _fetch : _del.getInnermostDelegate(); }
/** * Return the native delegate. */ public FetchConfiguration getInnermostDelegate() { return (_del == null) ? _fetch : _del.getInnermostDelegate(); }
/** * Return the native delegate. */ public FetchConfiguration getInnermostDelegate() { return (_del == null) ? _fetch : _del.getInnermostDelegate(); }
/** * Return the native delegate. */ public FetchConfiguration getInnermostDelegate() { return (_del == null) ? _fetch : _del.getInnermostDelegate(); }
public boolean equals(Object other) { if (other == this) return true; if (other instanceof DelegatingFetchConfiguration) other = ((DelegatingFetchConfiguration) other). getInnermostDelegate(); return getInnermostDelegate().equals(other); }
public boolean equals(Object other) { if (other == this) return true; if (other instanceof DelegatingFetchConfiguration) other = ((DelegatingFetchConfiguration) other). getInnermostDelegate(); return getInnermostDelegate().equals(other); }
public boolean equals(Object other) { if (other == this) return true; if (other instanceof DelegatingFetchConfiguration) other = ((DelegatingFetchConfiguration) other). getInnermostDelegate(); return getInnermostDelegate().equals(other); }
public boolean equals(Object other) { if (other == this) return true; if (other instanceof DelegatingFetchConfiguration) other = ((DelegatingFetchConfiguration) other). getInnermostDelegate(); return getInnermostDelegate().equals(other); }
public boolean equals(Object other) { if (other == this) return true; if (other instanceof DelegatingFetchConfiguration) other = ((DelegatingFetchConfiguration) other). getInnermostDelegate(); return getInnermostDelegate().equals(other); }
public int hashCode() { return getInnermostDelegate().hashCode(); }
public int hashCode() { return getInnermostDelegate().hashCode(); }
public int hashCode() { return getInnermostDelegate().hashCode(); }
public int hashCode() { return getInnermostDelegate().hashCode(); }
public int hashCode() { return getInnermostDelegate().hashCode(); }
/** * Create a store-specific facade for the given fetch configuration. * If no facade class exists, we use the default {@link FetchPlan}. */ FetchPlan toFetchPlan(Broker broker, FetchConfiguration fetch) { if (fetch == null) return null; if (fetch instanceof DelegatingFetchConfiguration) fetch = ((DelegatingFetchConfiguration) fetch). getInnermostDelegate(); try { if (_plan == null) { Class storeType = (broker == null) ? null : broker. getStoreManager().getInnermostDelegate().getClass(); Class cls = _factory.getConfiguration(). getStoreFacadeTypeRegistry(). getImplementation(FetchPlan.class, storeType, FetchPlanImpl.class); _plan = cls.getConstructor(FetchConfiguration.class); } return _plan.newInstance(fetch); } catch (InvocationTargetException ite) { throw PersistenceExceptions.toPersistenceException (ite.getTargetException()); } catch (Exception e) { throw PersistenceExceptions.toPersistenceException(e); } }
/** * Create a store-specific facade for the given fetch configuration. * If no facade class exists, we use the default {@link FetchPlan}. */ FetchPlan toFetchPlan(Broker broker, FetchConfiguration fetch) { if (fetch == null) return null; if (fetch instanceof DelegatingFetchConfiguration) fetch = ((DelegatingFetchConfiguration) fetch). getInnermostDelegate(); try { if (_plan == null) { Class storeType = (broker == null) ? null : broker. getStoreManager().getInnermostDelegate().getClass(); Class cls = _factory.getConfiguration(). getStoreFacadeTypeRegistry(). getImplementation(FetchPlan.class, storeType, FetchPlanImpl.class); _plan = cls.getConstructor(FetchConfiguration.class); } return _plan.newInstance(fetch); } catch (InvocationTargetException ite) { throw PersistenceExceptions.toPersistenceException (ite.getTargetException()); } catch (Exception e) { throw PersistenceExceptions.toPersistenceException(e); } }
/** * Create a store-specific facade for the given fetch configuration. * If no facade class exists, we use the default {@link FetchPlan}. */ FetchPlan toFetchPlan(Broker broker, FetchConfiguration fetch) { if (fetch == null) return null; if (fetch instanceof DelegatingFetchConfiguration) fetch = ((DelegatingFetchConfiguration) fetch). getInnermostDelegate(); try { if (_plan == null) { Class storeType = (broker == null) ? null : broker. getStoreManager().getInnermostDelegate().getClass(); Class cls = _factory.getConfiguration(). getStoreFacadeTypeRegistry(). getImplementation(FetchPlan.class, storeType, FetchPlanImpl.class); _plan = cls.getConstructor(FetchConfiguration.class); } return _plan.newInstance(fetch); } catch (InvocationTargetException ite) { throw PersistenceExceptions.toPersistenceException (ite.getTargetException()); } catch (Exception e) { throw PersistenceExceptions.toPersistenceException(e); } }
/** * Create a store-specific facade for the given fetch configuration. * If no facade class exists, we use the default {@link FetchPlan}. */ FetchPlan toFetchPlan(Broker broker, FetchConfiguration fetch) { if (fetch == null) return null; if (fetch instanceof DelegatingFetchConfiguration) fetch = ((DelegatingFetchConfiguration) fetch). getInnermostDelegate(); try { if (_plan == null) { Class storeType = (broker == null) ? null : broker. getStoreManager().getInnermostDelegate().getClass(); Class cls = _factory.getConfiguration(). getStoreFacadeTypeRegistry(). getImplementation(FetchPlan.class, storeType, FetchPlanImpl.class); _plan = cls.getConstructor(FetchConfiguration.class); } return _plan.newInstance(fetch); } catch (InvocationTargetException ite) { throw PersistenceExceptions.toPersistenceException (ite.getTargetException()); } catch (Exception e) { throw PersistenceExceptions.toPersistenceException(e); } }