/** * @return * @deprecated Use {@link Module}s via {@link FramedGraphFactory}. */ public Collection<AnnotationHandler<? extends Annotation>> getAnnotationHandlers() { checkFactoryConfig(); return config.getAnnotationHandlers().values(); }
/** * @param annotationType the type of annotation handled by the annotation handler * @return a boolean indicating if the framedGraph has registered an annotation handler for the * specified type * @deprecated Use {@link Module}s via {@link FramedGraphFactory}. */ public boolean hasAnnotationHandler(final Class<? extends Annotation> annotationType) { checkFactoryConfig(); return config.getAnnotationHandlers().containsKey(annotationType); }
/** * @param annotationType the type of the annotation handler to remove * @deprecated Use {@link Module}s via {@link FramedGraphFactory}. */ public void unregisterAnnotationHandler(final Class<? extends Annotation> annotationType) { checkFactoryConfig(); config.getAnnotationHandlers().remove(annotationType); }
/** * @param annotationType the type of annotation handled by the annotation handler * @return the annotation handler associated with the specified type * @deprecated Use {@link Module}s via {@link FramedGraphFactory}. */ public AnnotationHandler<?> getAnnotationHandler( final Class<? extends Annotation> annotationType) { checkFactoryConfig(); return config.getAnnotationHandlers().get(annotationType); }