@Override public void addStereotype(Class<? extends Annotation> stereotype, Annotation... stereotypeDef) { checkWithinObserverNotification(); TypeStore typeStore = getTypeStore(); typeStore.add(stereotype, StereotypeLiteral.INSTANCE); for (Annotation a : stereotypeDef) { typeStore.add(stereotype, a); } getBeanManager().getServices().get(ClassTransformer.class).clearAnnotationData(stereotype); getBeanManager().getServices().get(MetaAnnotationStore.class).clearAnnotationData(stereotype); BootstrapLogger.LOG.addStereoTypeCalled(getReceiver(), stereotype); }
@Override public void addStereotype(Class<? extends Annotation> stereotype, Annotation... stereotypeDef) { checkWithinObserverNotification(); TypeStore typeStore = getTypeStore(); typeStore.add(stereotype, StereotypeLiteral.INSTANCE); for (Annotation a : stereotypeDef) { typeStore.add(stereotype, a); } getBeanManager().getServices().get(ClassTransformer.class).clearAnnotationData(stereotype); getBeanManager().getServices().get(MetaAnnotationStore.class).clearAnnotationData(stereotype); BootstrapLogger.LOG.addStereoTypeCalled(getReceiver(), stereotype); }
@Override public void addInterceptorBinding(Class<? extends Annotation> bindingType, Annotation... bindingTypeDef) { checkWithinObserverNotification(); TypeStore typeStore = getTypeStore(); typeStore.add(bindingType, InterceptorBindingTypeLiteral.INSTANCE); for (Annotation a : bindingTypeDef) { typeStore.add(bindingType, a); } getBeanManager().getServices().get(ClassTransformer.class).clearAnnotationData(bindingType); getBeanManager().getServices().get(MetaAnnotationStore.class).clearAnnotationData(bindingType); BootstrapLogger.LOG.addInterceptorBindingCalled(getReceiver(), bindingType); }
@Override public void addStereotype(Class<? extends Annotation> stereotype, Annotation... stereotypeDef) { checkWithinObserverNotification(); TypeStore typeStore = getTypeStore(); typeStore.add(stereotype, StereotypeLiteral.INSTANCE); for (Annotation a : stereotypeDef) { typeStore.add(stereotype, a); } getBeanManager().getServices().get(ClassTransformer.class).clearAnnotationData(stereotype); getBeanManager().getServices().get(MetaAnnotationStore.class).clearAnnotationData(stereotype); BootstrapLogger.LOG.addStereoTypeCalled(getReceiver(), stereotype); }
@Override public void addStereotype(Class<? extends Annotation> stereotype, Annotation... stereotypeDef) { checkWithinObserverNotification(); TypeStore typeStore = getTypeStore(); typeStore.add(stereotype, StereotypeLiteral.INSTANCE); for (Annotation a : stereotypeDef) { typeStore.add(stereotype, a); } getBeanManager().getServices().get(ClassTransformer.class).clearAnnotationData(stereotype); getBeanManager().getServices().get(MetaAnnotationStore.class).clearAnnotationData(stereotype); BootstrapLogger.LOG.addStereoTypeCalled(getReceiver(), stereotype); }
@Override public void addInterceptorBinding(Class<? extends Annotation> bindingType, Annotation... bindingTypeDef) { checkWithinObserverNotification(); TypeStore typeStore = getTypeStore(); typeStore.add(bindingType, InterceptorBindingTypeLiteral.INSTANCE); for (Annotation a : bindingTypeDef) { typeStore.add(bindingType, a); } getBeanManager().getServices().get(ClassTransformer.class).clearAnnotationData(bindingType); getBeanManager().getServices().get(MetaAnnotationStore.class).clearAnnotationData(bindingType); BootstrapLogger.LOG.addInterceptorBindingCalled(getReceiver(), bindingType); }
@Override public void addInterceptorBinding(Class<? extends Annotation> bindingType, Annotation... bindingTypeDef) { checkWithinObserverNotification(); TypeStore typeStore = getTypeStore(); typeStore.add(bindingType, InterceptorBindingTypeLiteral.INSTANCE); for (Annotation a : bindingTypeDef) { typeStore.add(bindingType, a); } getBeanManager().getServices().get(ClassTransformer.class).clearAnnotationData(bindingType); getBeanManager().getServices().get(MetaAnnotationStore.class).clearAnnotationData(bindingType); BootstrapLogger.LOG.addInterceptorBindingCalled(getReceiver(), bindingType); }
@Override public void addInterceptorBinding(Class<? extends Annotation> bindingType, Annotation... bindingTypeDef) { checkWithinObserverNotification(); TypeStore typeStore = getTypeStore(); typeStore.add(bindingType, InterceptorBindingTypeLiteral.INSTANCE); for (Annotation a : bindingTypeDef) { typeStore.add(bindingType, a); } getBeanManager().getServices().get(ClassTransformer.class).clearAnnotationData(bindingType); getBeanManager().getServices().get(MetaAnnotationStore.class).clearAnnotationData(bindingType); BootstrapLogger.LOG.addInterceptorBindingCalled(getReceiver(), bindingType); }
@Override public void addStereotype(Class<? extends Annotation> stereotype, Annotation... stereotypeDef) { checkWithinObserverNotification(); TypeStore typeStore = getTypeStore(); typeStore.add(stereotype, StereotypeLiteral.INSTANCE); for (Annotation a : stereotypeDef) { typeStore.add(stereotype, a); } getBeanManager().getServices().get(ClassTransformer.class).clearAnnotationData(stereotype); getBeanManager().getServices().get(MetaAnnotationStore.class).clearAnnotationData(stereotype); BootstrapLogger.LOG.addStereoTypeCalled(getReceiver(), stereotype); }
@Override public void addInterceptorBinding(Class<? extends Annotation> bindingType, Annotation... bindingTypeDef) { checkWithinObserverNotification(); TypeStore typeStore = getTypeStore(); typeStore.add(bindingType, InterceptorBindingTypeLiteral.INSTANCE); for (Annotation a : bindingTypeDef) { typeStore.add(bindingType, a); } getBeanManager().getServices().get(ClassTransformer.class).clearAnnotationData(bindingType); getBeanManager().getServices().get(MetaAnnotationStore.class).clearAnnotationData(bindingType); BootstrapLogger.LOG.addInterceptorBindingCalled(getReceiver(), bindingType); }
@Override public void addStereotype(Class<? extends Annotation> stereotype, Annotation... stereotypeDef) { checkWithinObserverNotification(); TypeStore typeStore = getTypeStore(); typeStore.add(stereotype, StereotypeLiteral.INSTANCE); for (Annotation a : stereotypeDef) { typeStore.add(stereotype, a); } getBeanManager().getServices().get(ClassTransformer.class).clearAnnotationData(stereotype); getBeanManager().getServices().get(MetaAnnotationStore.class).clearAnnotationData(stereotype); BootstrapLogger.LOG.addStereoTypeCalled(getReceiver(), stereotype); }
@Override public void addInterceptorBinding(Class<? extends Annotation> bindingType, Annotation... bindingTypeDef) { checkWithinObserverNotification(); TypeStore typeStore = getTypeStore(); typeStore.add(bindingType, InterceptorBindingTypeLiteral.INSTANCE); for (Annotation a : bindingTypeDef) { typeStore.add(bindingType, a); } getBeanManager().getServices().get(ClassTransformer.class).clearAnnotationData(bindingType); getBeanManager().getServices().get(MetaAnnotationStore.class).clearAnnotationData(bindingType); BootstrapLogger.LOG.addInterceptorBindingCalled(getReceiver(), bindingType); }
@Override public void addScope(Class<? extends Annotation> scopeType, boolean normal, boolean passivating) { checkWithinObserverNotification(); if (normal) { getTypeStore().add(scopeType, new NormalScopeLiteral(passivating)); } else if (passivating) { throw BootstrapLogger.LOG.passivatingNonNormalScopeIllegal(scopeType); } else { getTypeStore().add(scopeType, ScopeLiteral.INSTANCE); } getBeanManager().getServices().get(ClassTransformer.class).clearAnnotationData(scopeType); getBeanManager().getServices().get(MetaAnnotationStore.class).clearAnnotationData(scopeType); getBeanManager().getServices().get(ReflectionCache.class).cleanup(); BootstrapLogger.LOG.addScopeCalled(getReceiver(), scopeType); }
@Override public void addScope(Class<? extends Annotation> scopeType, boolean normal, boolean passivating) { checkWithinObserverNotification(); if (normal) { getTypeStore().add(scopeType, new NormalScopeLiteral(passivating)); } else if (passivating) { throw BootstrapLogger.LOG.passivatingNonNormalScopeIllegal(scopeType); } else { getTypeStore().add(scopeType, ScopeLiteral.INSTANCE); } getBeanManager().getServices().get(ClassTransformer.class).clearAnnotationData(scopeType); getBeanManager().getServices().get(MetaAnnotationStore.class).clearAnnotationData(scopeType); getBeanManager().getServices().get(ReflectionCache.class).cleanup(); BootstrapLogger.LOG.addScopeCalled(getReceiver(), scopeType); }
@Override public void addQualifier(Class<? extends Annotation> bindingType) { checkWithinObserverNotification(); getTypeStore().add(bindingType, QualifierLiteral.INSTANCE); getBeanManager().getServices().get(ClassTransformer.class).clearAnnotationData(bindingType); getBeanManager().getServices().get(MetaAnnotationStore.class).clearAnnotationData(bindingType); BootstrapLogger.LOG.addQualifierCalled(getReceiver(), bindingType); }
@Override public void addQualifier(Class<? extends Annotation> bindingType) { checkWithinObserverNotification(); getTypeStore().add(bindingType, QualifierLiteral.INSTANCE); getBeanManager().getServices().get(ClassTransformer.class).clearAnnotationData(bindingType); getBeanManager().getServices().get(MetaAnnotationStore.class).clearAnnotationData(bindingType); BootstrapLogger.LOG.addQualifierCalled(getReceiver(), bindingType); }
@Override public void addQualifier(Class<? extends Annotation> bindingType) { checkWithinObserverNotification(); getTypeStore().add(bindingType, QualifierLiteral.INSTANCE); getBeanManager().getServices().get(ClassTransformer.class).clearAnnotationData(bindingType); getBeanManager().getServices().get(MetaAnnotationStore.class).clearAnnotationData(bindingType); BootstrapLogger.LOG.addQualifierCalled(getReceiver(), bindingType); }
@Override public void addQualifier(Class<? extends Annotation> bindingType) { checkWithinObserverNotification(); getTypeStore().add(bindingType, QualifierLiteral.INSTANCE); getBeanManager().getServices().get(ClassTransformer.class).clearAnnotationData(bindingType); getBeanManager().getServices().get(MetaAnnotationStore.class).clearAnnotationData(bindingType); BootstrapLogger.LOG.addQualifierCalled(getReceiver(), bindingType); }
@Override public void addQualifier(Class<? extends Annotation> bindingType) { checkWithinObserverNotification(); getTypeStore().add(bindingType, QualifierLiteral.INSTANCE); getBeanManager().getServices().get(ClassTransformer.class).clearAnnotationData(bindingType); getBeanManager().getServices().get(MetaAnnotationStore.class).clearAnnotationData(bindingType); BootstrapLogger.LOG.addQualifierCalled(getReceiver(), bindingType); }
@Override public void addQualifier(Class<? extends Annotation> bindingType) { checkWithinObserverNotification(); getTypeStore().add(bindingType, QualifierLiteral.INSTANCE); getBeanManager().getServices().get(ClassTransformer.class).clearAnnotationData(bindingType); getBeanManager().getServices().get(MetaAnnotationStore.class).clearAnnotationData(bindingType); BootstrapLogger.LOG.addQualifierCalled(getReceiver(), bindingType); }