/** * removes all data for an annotation class. This should be called after an * annotation has been modified through the SPI */ public void clearAnnotationData(Class<? extends Annotation> annotationClass) { stereotypes.invalidate(annotationClass); scopes.invalidate(annotationClass); qualifiers.invalidate(annotationClass); interceptorBindings.invalidate(annotationClass); }
/** * removes all data for an annotation class. This should be called after an * annotation has been modified through the SPI */ public void clearAnnotationData(Class<? extends Annotation> annotationClass) { stereotypes.invalidate(annotationClass); scopes.invalidate(annotationClass); qualifiers.invalidate(annotationClass); interceptorBindings.invalidate(annotationClass); }
/** * removes all data for an annotation class. This should be called after an * annotation has been modified through the SPI */ public void clearAnnotationData(Class<? extends Annotation> annotationClass) { stereotypes.invalidate(annotationClass); scopes.invalidate(annotationClass); qualifiers.invalidate(annotationClass); interceptorBindings.invalidate(annotationClass); }
/** * removes all data for an annotation class. This should be called after an * annotation has been modified through the SPI */ public void clearAnnotationData(Class<? extends Annotation> annotationClass) { stereotypes.invalidate(annotationClass); scopes.invalidate(annotationClass); qualifiers.invalidate(annotationClass); interceptorBindings.invalidate(annotationClass); }
/** * removes all data for an annotation class. This should be called after an * annotation has been modified through the SPI */ public void clearAnnotationData(Class<? extends Annotation> annotationClass) { stereotypes.invalidate(annotationClass); scopes.invalidate(annotationClass); qualifiers.invalidate(annotationClass); interceptorBindings.invalidate(annotationClass); }
/** * removes all data for an annotation class. This should be called after an * annotation has been modified through the SPI */ public void clearAnnotationData(Class<? extends Annotation> annotationClass) { stereotypes.invalidate(annotationClass); scopes.invalidate(annotationClass); qualifiers.invalidate(annotationClass); interceptorBindings.invalidate(annotationClass); }
public void clearAnnotationData(Class<? extends Annotation> annotationClass) { annotations.invalidate(annotationClass); }
public void clearAnnotationData(Class<? extends Annotation> annotationClass) { annotations.invalidate(annotationClass); }
public void vetoSpecializingBean(Bean<?> bean) { Set<? extends AbstractBean<?, ?>> noLongerSpecializedBeans = specializedBeans.getValueIfPresent(bean); if (noLongerSpecializedBeans != null) { specializedBeans.invalidate(bean); for (AbstractBean<?, ?> noLongerSpecializedBean : noLongerSpecializedBeans) { // We should never get null here but just to be sure AtomicLong count = specializedBeansMap.get(noLongerSpecializedBean); if (count != null) { count.decrementAndGet(); } } } }
public void vetoSpecializingBean(Bean<?> bean) { Set<? extends AbstractBean<?, ?>> noLongerSpecializedBeans = specializedBeans.getValueIfPresent(bean); if (noLongerSpecializedBeans != null) { specializedBeans.invalidate(bean); for (AbstractBean<?, ?> noLongerSpecializedBean : noLongerSpecializedBeans) { // We should never get null here but just to be sure LongAdder count = specializedBeansMap.get(noLongerSpecializedBean); if (count != null) { count.decrement(); } } } }
public <T> void disposeBackedAnnotatedType(Class<T> rawType, String bdaId, String suffix) { TypeHolder<T> typeHolder = new TypeHolder<>(rawType, rawType, bdaId, suffix); BackedAnnotatedType<T> annotatedType = cast(this.backedAnnotatedTypes.getValueIfPresent(typeHolder)); if (annotatedType != null) { this.backedAnnotatedTypes.invalidate(typeHolder); this.slimAnnotatedTypesById.remove(annotatedType.getIdentifier()); this.enhancedAnnotatedTypes.invalidate(annotatedType); } }
public <T> void disposeBackedAnnotatedType(Class<T> rawType, String bdaId, String suffix) { TypeHolder<T> typeHolder = new TypeHolder<>(rawType, rawType, bdaId, suffix); BackedAnnotatedType<T> annotatedType = cast(this.backedAnnotatedTypes.getValueIfPresent(typeHolder)); if (annotatedType != null) { this.backedAnnotatedTypes.invalidate(typeHolder); this.slimAnnotatedTypesById.remove(annotatedType.getIdentifier()); this.enhancedAnnotatedTypes.invalidate(annotatedType); } }
public void vetoSpecializingBean(Bean<?> bean) { Set<? extends AbstractBean<?, ?>> noLongerSpecializedBeans = specializedBeans.getValueIfPresent(bean); if (noLongerSpecializedBeans != null) { specializedBeans.invalidate(bean); for (AbstractBean<?, ?> noLongerSpecializedBean : noLongerSpecializedBeans) { // We should never get null here but just to be sure LongAdder count = specializedBeansMap.get(noLongerSpecializedBean); if (count != null) { count.decrement(); } } } }
public <T> void disposeBackedAnnotatedType(Class<T> rawType, String bdaId, String suffix) { TypeHolder<T> typeHolder = new TypeHolder<>(rawType, rawType, bdaId, suffix); BackedAnnotatedType<T> annotatedType = cast(this.backedAnnotatedTypes.getValueIfPresent(typeHolder)); if (annotatedType != null) { this.backedAnnotatedTypes.invalidate(typeHolder); this.slimAnnotatedTypesById.remove(annotatedType.getIdentifier()); this.enhancedAnnotatedTypes.invalidate(annotatedType); } }
public void vetoSpecializingBean(Bean<?> bean) { Set<? extends AbstractBean<?, ?>> noLongerSpecializedBeans = specializedBeans.getValueIfPresent(bean); if (noLongerSpecializedBeans != null) { specializedBeans.invalidate(bean); for (AbstractBean<?, ?> noLongerSpecializedBean : noLongerSpecializedBeans) { // We should never get null here but just to be sure LongAdder count = specializedBeansMap.get(noLongerSpecializedBean); if (count != null) { count.decrement(); } } } }
public void vetoSpecializingBean(Bean<?> bean) { Set<? extends AbstractBean<?, ?>> noLongerSpecializedBeans = specializedBeans.getValueIfPresent(bean); if (noLongerSpecializedBeans != null) { specializedBeans.invalidate(bean); for (AbstractBean<?, ?> noLongerSpecializedBean : noLongerSpecializedBeans) { // We should never get null here but just to be sure LongAdder count = specializedBeansMap.get(noLongerSpecializedBean); if (count != null) { count.decrement(); } } } }
public <T> void disposeBackedAnnotatedType(Class<T> rawType, String bdaId, String suffix) { TypeHolder<T> typeHolder = new TypeHolder<>(rawType, rawType, bdaId, suffix); BackedAnnotatedType<T> annotatedType = cast(this.backedAnnotatedTypes.getValueIfPresent(typeHolder)); if (annotatedType != null) { this.backedAnnotatedTypes.invalidate(typeHolder); this.slimAnnotatedTypesById.remove(annotatedType.getIdentifier()); this.enhancedAnnotatedTypes.invalidate(annotatedType); } }
public <T> void disposeBackedAnnotatedType(Class<T> rawType, String bdaId, String suffix) { TypeHolder<T> typeHolder = new TypeHolder<>(rawType, rawType, bdaId, suffix); BackedAnnotatedType<T> annotatedType = cast(this.backedAnnotatedTypes.getValueIfPresent(typeHolder)); if (annotatedType != null) { this.backedAnnotatedTypes.invalidate(typeHolder); this.slimAnnotatedTypesById.remove(annotatedType.getIdentifier()); this.enhancedAnnotatedTypes.invalidate(annotatedType); } }
public void vetoSpecializingBean(Bean<?> bean) { Set<? extends AbstractBean<?, ?>> noLongerSpecializedBeans = specializedBeans.getValueIfPresent(bean); if (noLongerSpecializedBeans != null) { specializedBeans.invalidate(bean); for (AbstractBean<?, ?> noLongerSpecializedBean : noLongerSpecializedBeans) { // We should never get null here but just to be sure LongAdder count = specializedBeansMap.get(noLongerSpecializedBean); if (count != null) { count.decrement(); } } } }
public <T> void disposeBackedAnnotatedType(Class<T> rawType, String bdaId, String suffix) { TypeHolder<T> typeHolder = new TypeHolder<>(rawType, rawType, bdaId, suffix); BackedAnnotatedType<T> annotatedType = cast(this.backedAnnotatedTypes.getValueIfPresent(typeHolder)); if (annotatedType != null) { this.backedAnnotatedTypes.invalidate(typeHolder); this.slimAnnotatedTypesById.remove(annotatedType.getIdentifier()); this.enhancedAnnotatedTypes.invalidate(annotatedType); } }