Examples of annotationType()


Examples of javax.context.ScopeType.annotationType()

        ScopeType scope = this.getScopeType().getAnnotation(ScopeType.class);
        if (scope.passivating())
        {
            if (!this.isSerializable())
            {
                throw new IllegalProductException("WebBeans producer method : " + creatorMethod.getName() + " return type in the component implementation class : " + this.parent.getReturnType().getName() + " with passivating scope @" + scope.annotationType().getName() + " must be Serializable");
            }
        }
    }
}
View Full Code Here

Examples of javax.interceptor.AroundInvoke.annotationType()

/*  721 */       AroundInvoke ann = (AroundInvoke)getAnnotation(method, AroundInvoke.class);
/*  722 */       if (ann != null)
/*      */       {
/*  724 */         if (!this.signatureValidator.checkValidAround(method))
/*      */         {
/*  726 */           throw new RuntimeException("@" + ann.annotationType().getName() + " annotated method in has the wrong signature - " + method);
/*      */         }
/*      */
/*  729 */         return method;
/*      */       }
/*  731 */       return null;
View Full Code Here

Examples of javax.interceptor.Interceptors.annotationType()

            .resolveAnnotation(Interceptors.class);
      if (binding != null)
      {
         Interceptors impl = createInterceptorsFromInterceptorBinding(interceptors, binding);

         addClassAnnotation(container, impl.annotationType(), impl);
      }

      boolean exclude = false;
      if (binding != null)
         exclude = binding.isExcludeDefaultInterceptors();
View Full Code Here

Examples of javax.xml.bind.annotation.XmlElement.annotationType()

            if(xe!=null && xes!=null) {
                parent.builder.reportError(new IllegalAnnotationException(
                        Messages.MUTUALLY_EXCLUSIVE_ANNOTATIONS.format(
                                nav().getClassName(parent.getClazz())+'#'+seed.getName(),
                                xe.annotationType().getName(), xes.annotationType().getName()),
                        xe, xes ));
            }

            isRequired = true;
View Full Code Here

Examples of javax.xml.bind.annotation.XmlElementRef.annotationType()

        if(refs!=null && ref!=null) {
            parent.builder.reportError(new IllegalAnnotationException(
                    Messages.MUTUALLY_EXCLUSIVE_ANNOTATIONS.format(
                    nav().getClassName(parent.getClazz())+'#'+seed.getName(),
                    ref.annotationType().getName(), refs.annotationType().getName()),
                    ref, refs ));
        }

        if(refs!=null)
            ann = refs.value();
View Full Code Here

Examples of javax.xml.bind.annotation.XmlElementRefs.annotationType()

        if(refs!=null && ref!=null) {
            parent.builder.reportError(new IllegalAnnotationException(
                    Messages.MUTUALLY_EXCLUSIVE_ANNOTATIONS.format(
                    nav().getClassName(parent.getClazz())+'#'+seed.getName(),
                    ref.annotationType().getName(), refs.annotationType().getName()),
                    ref, refs ));
        }

        if(refs!=null)
            ann = refs.value();
View Full Code Here

Examples of javax.xml.bind.annotation.XmlElements.annotationType()

            if(xe!=null && xes!=null) {
                parent.builder.reportError(new IllegalAnnotationException(
                        Messages.MUTUALLY_EXCLUSIVE_ANNOTATIONS.format(
                                nav().getClassName(parent.getClazz())+'#'+seed.getName(),
                                xe.annotationType().getName(), xes.annotationType().getName()),
                        xe, xes ));
            }

            isRequired = true;
View Full Code Here

Examples of org.apache.deltaspike.core.api.config.view.metadata.ViewMetaData.annotationType()

            Aggregated aggregated = inheritedAnnotation.annotationType().getAnnotation(Aggregated.class);

            if (aggregated == null)
            {
                aggregated = viewMetaData.annotationType().getAnnotation(Aggregated.class);
            }

            if (aggregated.value()) //aggregation for the whole annotation is allowed
            {
                mergedResult.add(inheritedAnnotation);
View Full Code Here

Examples of org.apache.felix.gogo.commands.Argument.annotationType()

                            }
                            public boolean multiValued() {
                                return delegate.multiValued();
                            }
                            public Class<? extends Annotation> annotationType() {
                                return delegate.annotationType();
                            }
                        };
                    }
                    arguments.put(argument, field);
                    int index = argument.index();
View Full Code Here

Examples of org.apache.karaf.shell.api.action.Argument.annotationType()

                public String valueToShowInHelp() {
                    return delegate.valueToShowInHelp();
                }

                public Class<? extends Annotation> annotationType() {
                    return delegate.annotationType();
                }
            };
        }
        return argument;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.