Exemplo n.º 1
0
 /**
  * @return
  * @deprecated Use {@link Module}s via {@link FramedGraphFactory}.
  */
 public Collection<AnnotationHandler<? extends Annotation>> getAnnotationHandlers() {
   checkFactoryConfig();
   return config.getAnnotationHandlers().values();
 }
Exemplo n.º 2
0
 /**
  * @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);
 }
Exemplo n.º 3
0
 /**
  * @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);
 }
Exemplo n.º 4
0
 /**
  * @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);
 }