@Override public Set<Annotation> getStereotypeDefinition(Class<? extends Annotation> stereotype) { final StereotypeModel<? extends Annotation> model = getServices().get(MetaAnnotationStore.class).getStereotype(stereotype); if (model.isValid()) { return model.getMetaAnnotations(); } else { throw BeanManagerLogger.LOG.notStereotype(stereotype); } }
@Override public Set<Annotation> getStereotypeDefinition(Class<? extends Annotation> stereotype) { final StereotypeModel<? extends Annotation> model = getServices().get(MetaAnnotationStore.class).getStereotype(stereotype); if (model.isValid()) { return model.getMetaAnnotations(); } else { throw BeanManagerLogger.LOG.notStereotype(stereotype); } }
@Override public Set<Annotation> getStereotypeDefinition(Class<? extends Annotation> stereotype) { final StereotypeModel<? extends Annotation> model = getServices().get(MetaAnnotationStore.class).getStereotype(stereotype); if (model.isValid()) { return model.getMetaAnnotations(); } else { throw BeanManagerLogger.LOG.notStereotype(stereotype); } }
@Override public Set<Annotation> getStereotypeDefinition(Class<? extends Annotation> stereotype) { final StereotypeModel<? extends Annotation> model = getServices().get(MetaAnnotationStore.class).getStereotype(stereotype); if (model.isValid()) { return model.getMetaAnnotations(); } else { throw BeanManagerLogger.LOG.notStereotype(stereotype); } }
@Override public Set<Annotation> getStereotypeDefinition(Class<? extends Annotation> stereotype) { final StereotypeModel<? extends Annotation> model = getServices().get(MetaAnnotationStore.class).getStereotype(stereotype); if (model.isValid()) { return model.getMetaAnnotations(); } else { throw BeanManagerLogger.LOG.notStereotype(stereotype); } }
@Override public Set<Annotation> getStereotypeDefinition(Class<? extends Annotation> stereotype) { final StereotypeModel<? extends Annotation> model = getServices().get(MetaAnnotationStore.class).getStereotype(stereotype); if (model.isValid()) { return model.getMetaAnnotations(); } else { throw BeanManagerLogger.LOG.notStereotype(stereotype); } }