/** * Eagerly initializes the specified * {@link #setMethodMap(java.util.Map) "methodMap"}, if any. * @see #initMethodMap(java.util.Map) */ @Override public void afterPropertiesSet() { initMethodMap(this.methodMap); this.eagerlyInitialized = true; this.initialized = true; }
/** * Eagerly initializes the specified * {@link #setMethodMap(java.util.Map) "methodMap"}, if any. * @see #initMethodMap(java.util.Map) */ @Override public void afterPropertiesSet() { initMethodMap(this.methodMap); this.eagerlyInitialized = true; this.initialized = true; }
@Override @Nullable public TransactionAttribute getTransactionAttribute(Method method, @Nullable Class<?> targetClass) { if (this.eagerlyInitialized) { return this.transactionAttributeMap.get(method); } else { synchronized (this.transactionAttributeMap) { if (!this.initialized) { initMethodMap(this.methodMap); this.initialized = true; } return this.transactionAttributeMap.get(method); } } }
@Override @Nullable public TransactionAttribute getTransactionAttribute(Method method, @Nullable Class<?> targetClass) { if (this.eagerlyInitialized) { return this.transactionAttributeMap.get(method); } else { synchronized (this.transactionAttributeMap) { if (!this.initialized) { initMethodMap(this.methodMap); this.initialized = true; } return this.transactionAttributeMap.get(method); } } }
/** * Eagerly initializes the specified * {@link #setMethodMap(java.util.Map) "methodMap"}, if any. * @see #initMethodMap(java.util.Map) */ @Override public void afterPropertiesSet() { initMethodMap(this.methodMap); this.eagerlyInitialized = true; this.initialized = true; }
/** * Eagerly initializes the specified * {@link #setMethodMap(java.util.Map) "methodMap"}, if any. * @see #initMethodMap(java.util.Map) */ @Override public void afterPropertiesSet() { initMethodMap(this.methodMap); this.eagerlyInitialized = true; this.initialized = true; }
@Override @Nullable public TransactionAttribute getTransactionAttribute(Method method, @Nullable Class<?> targetClass) { if (this.eagerlyInitialized) { return this.transactionAttributeMap.get(method); } else { synchronized (this.transactionAttributeMap) { if (!this.initialized) { initMethodMap(this.methodMap); this.initialized = true; } return this.transactionAttributeMap.get(method); } } }
@Override @Nullable public TransactionAttribute getTransactionAttribute(Method method, @Nullable Class<?> targetClass) { if (this.eagerlyInitialized) { return this.transactionAttributeMap.get(method); } else { synchronized (this.transactionAttributeMap) { if (!this.initialized) { initMethodMap(this.methodMap); this.initialized = true; } return this.transactionAttributeMap.get(method); } } }