Interface MetadataLogger

  • All Superinterfaces:
    org.jboss.logging.BasicLogger, WeldLogger
    All Known Implementing Classes:
    MetadataLogger_$logger

    @MessageLogger(projectCode="WELD-")
    public interface MetadataLogger
    extends WeldLogger
    Log messages for Meta Data. Message IDs: 001100 - 001199
    • Method Detail

      • metaAnnotationOnWrongType

        @Message(id=1100,
                 value="{0} can only be applied to an annotation.  It was applied to {1}",
                 format=MESSAGE_FORMAT)
        DefinitionException metaAnnotationOnWrongType​(Object param1,
                                                      Object param2)
      • nonBindingMemberType

        @LogMessage(level=WARN)
        @Message(id=1101,
                 value="Member of array type or annotation type must be annotated @NonBinding:  {0}",
                 format=MESSAGE_FORMAT)
        void nonBindingMemberType​(Object param1)
      • stereotypeNotRegistered

        @Message(id=1102,
                 value="Stereotype {0} not registered with container",
                 format=MESSAGE_FORMAT)
        IllegalStateException stereotypeNotRegistered​(Object param1)
      • qualifierOnStereotype

        @Message(id=1103,
                 value="Cannot declare qualifiers on stereotype {0}",
                 format=MESSAGE_FORMAT)
        DefinitionException qualifierOnStereotype​(Object param1)
      • valueOnNamedStereotype

        @Message(id=1104,
                 value="Cannot specify a value for @Named stereotype {0}",
                 format=MESSAGE_FORMAT)
        DefinitionException valueOnNamedStereotype​(Object param1)
      • multipleScopes

        @Message(id=1105,
                 value="At most one scope type may be specified for {0}",
                 format=MESSAGE_FORMAT)
        DefinitionException multipleScopes​(Object param1)
      • stereotypesNull

        @Message(id=1106,
                 value="BeanAttributes.getStereotypes() returned null for {0}",
                 format=MESSAGE_FORMAT)
        DefinitionException stereotypesNull​(Object param1)
      • qualifiersNull

        @Message(id=1107,
                 value="{0}() returned null for {1}",
                 format=MESSAGE_FORMAT)
        DefinitionException qualifiersNull​(Object param1,
                                           Object param2)
      • typesNull

        @Message(id=1108,
                 value="BeanAttributes.getTypes() returned null for {0}",
                 format=MESSAGE_FORMAT)
        DefinitionException typesNull​(Object param1)
      • scopeNull

        @Message(id=1109,
                 value="BeanAttributes.getScope() returned null for {0}",
                 format=MESSAGE_FORMAT)
        DefinitionException scopeNull​(Object param1)
      • notAStereotype

        @Message(id=1110,
                 value="{0} defined on {1} is not a stereotype",
                 format=MESSAGE_FORMAT)
        DefinitionException notAStereotype​(Object param1,
                                           Object param2)
      • notAQualifier

        @Message(id=1111,
                 value="{0} defined on {1} is not a qualifier",
                 format=MESSAGE_FORMAT)
        DefinitionException notAQualifier​(Object param1,
                                          Object param2)
      • typesEmpty

        @Message(id=1112,
                 value="BeanAttributes.getTypes() may not return an empty set {0}",
                 format=MESSAGE_FORMAT)
        DefinitionException typesEmpty​(Object param1)
      • notAScope

        @Message(id=1113,
                 value="{0} defined on {1} is not a scope annotation",
                 format=MESSAGE_FORMAT)
        DefinitionException notAScope​(Object param1,
                                      Object param2)
      • metadataSourceReturnedNull

        @Message(id=1114,
                 value="{0} returned null for {1}",
                 format=MESSAGE_FORMAT)
        IllegalArgumentException metadataSourceReturnedNull​(Object param1,
                                                            Object param2)
      • invalidParameterPosition

        @Message(id=1115,
                 value="Parameter position {0} of parameter {1} is not valid",
                 format=MESSAGE_FORMAT)
        IllegalArgumentException invalidParameterPosition​(Object param1,
                                                          Object param2)
      • noConstructor

        @LogMessage(level=WARN)
        @Message(id=1116,
                 value="AnnotatedType ({0}) without a constructor",
                 format=MESSAGE_FORMAT)
        void noConstructor​(Object param1)
      • notInHierarchy

        @LogMessage(level=WARN)
        @Message(id=1117,
                 value="Member {0} ({1}) does not belong to the actual class hierarchy of the annotatedType {2} ({3})\n\tat {4}",
                 format=MESSAGE_FORMAT)
        void notInHierarchy​(Object memberName,
                            Object member,
                            Object annotatedTypeJavaClassName,
                            Object annotatedType,
                            Object stackElement)
      • typeVariableIsNotAValidBeanType

        @Message(id=1118,
                 value="A type variable is not a valid bean type. Bean type {0} of bean {1}",
                 format=MESSAGE_FORMAT)
        DefinitionException typeVariableIsNotAValidBeanType​(Object param1,
                                                            Object param2)
      • parameterizedTypeContainingWildcardParameterIsNotAValidBeanType

        @Message(id=1119,
                 value="A parameterized type containing wildcard parameters is not a valid bean type. Bean type {0} of bean {1}",
                 format=MESSAGE_FORMAT)
        DefinitionException parameterizedTypeContainingWildcardParameterIsNotAValidBeanType​(Object param1,
                                                                                            Object param2)
      • beanWithParameterizedTypeContainingTypeVariablesMustBeDependentScoped

        @Message(id=1120,
                 value="A bean that has a parameterized bean type containing type variables must be @Dependent scoped. Bean type {0} of bean {1}",
                 format=MESSAGE_FORMAT)
        DefinitionException beanWithParameterizedTypeContainingTypeVariablesMustBeDependentScoped​(Object param1,
                                                                                                  Object param2)
      • nonBindingMemberTypeException

        @Message(id=1121,
                 value="Member of array type or annotation type must be annotated @NonBinding:  {0}",
                 format=MESSAGE_FORMAT)
        DefinitionException nonBindingMemberTypeException​(Object param1)
      • annotatedTypeDeserializationFailure

        @Message(id=1122,
                 value="Failed to deserialize annotated type identified with {0}",
                 format=MESSAGE_FORMAT)
        IllegalStateException annotatedTypeDeserializationFailure​(AnnotatedTypeIdentifier identifier)
      • notAnInterceptorBinding

        @Message(id=1123,
                 value="{0} defined on {1} is not an interceptor binding",
                 format=MESSAGE_FORMAT)
        DefinitionException notAnInterceptorBinding​(Object param1,
                                                    Object param2)
      • contextGetScopeIsNotAScope

        @LogMessage(level=WARN)
        @Message(id=1124,
                 value="Context.getScope() returned {0} which is not a scope annotation. Context: {1}",
                 format=MESSAGE_FORMAT)
        void contextGetScopeIsNotAScope​(Object param1,
                                        Object param2)
      • illegalBeanTypeIgnored

        @LogMessage(level=INFO)
        @Message(id=1125,
                 value="Illegal bean type {0} ignored on {1}",
                 format=MESSAGE_FORMAT)
        void illegalBeanTypeIgnored​(Object type,
                                    Object annotated)
      • beanAttributesConfiguratorCannotReadAnnotatedType

        @Message(id=1126,
                 value="BeanAttributesConfigurator is not able to read {0} - missing BeanManager",
                 format=MESSAGE_FORMAT)
        IllegalStateException beanAttributesConfiguratorCannotReadAnnotatedType​(Object type)