@MessageLogger(projectCode="WELD-") public interface ValidatorLogger extends WeldLogger
| Modifier and Type | Field and Description |
|---|---|
static MessageCallback<DeploymentException> |
ALTERNATIVE_CLASS_SPECIFIED_MULTIPLE_TIMES |
static MessageCallback<DeploymentException> |
ALTERNATIVE_STEREOTYPE_SPECIFIED_MULTIPLE_TIMES |
static LogMessageCallback |
DECORATOR_ENABLED_FOR_APP_AND_ARCHIVE |
static MessageCallback<DeploymentException> |
DECORATOR_SPECIFIED_TWICE |
static MessageCallback<DefinitionException> |
INJECTION_INTO_DISPOSER_METHOD |
static MessageCallback<DefinitionException> |
INJECTION_INTO_NON_BEAN |
static LogMessageCallback |
INTERCEPTOR_ENABLED_FOR_APP_AND_ARCHIVE |
static MessageCallback<DeploymentException> |
INTERCEPTOR_SPECIFIED_TWICE |
static ValidatorLogger |
LOG |
CATCHING_MARKER, WELD_PROJECT_CODEcatchingDebugdebug, debug, debug, debug, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugv, debugv, debugv, debugv, debugv, debugv, debugv, debugv, error, error, error, error, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorv, errorv, errorv, errorv, errorv, errorv, errorv, errorv, fatal, fatal, fatal, fatal, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, info, info, info, info, infof, infof, infof, infof, infof, infof, infof, infof, infov, infov, infov, infov, infov, infov, infov, infov, isDebugEnabled, isEnabled, isInfoEnabled, isTraceEnabled, log, log, log, log, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, trace, trace, trace, trace, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracev, tracev, tracev, tracev, tracev, tracev, tracev, tracev, warn, warn, warn, warn, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnv, warnv, warnv, warnv, warnv, warnv, warnv, warnvstatic final ValidatorLogger LOG
static final MessageCallback<DefinitionException> INJECTION_INTO_DISPOSER_METHOD
static final MessageCallback<DefinitionException> INJECTION_INTO_NON_BEAN
static final MessageCallback<DeploymentException> INTERCEPTOR_SPECIFIED_TWICE
static final MessageCallback<DeploymentException> DECORATOR_SPECIFIED_TWICE
static final MessageCallback<DeploymentException> ALTERNATIVE_CLASS_SPECIFIED_MULTIPLE_TIMES
static final MessageCallback<DeploymentException> ALTERNATIVE_STEREOTYPE_SPECIFIED_MULTIPLE_TIMES
static final LogMessageCallback INTERCEPTOR_ENABLED_FOR_APP_AND_ARCHIVE
static final LogMessageCallback DECORATOR_ENABLED_FOR_APP_AND_ARCHIVE
@Message(id=1401,
value="Two beans cannot specialize the same bean {0}",
format=MESSAGE_FORMAT)
InconsistentSpecializationException beanSpecializedTooManyTimes(Object param1)
@Message(id=1402,
value="The bean {0} declares a passivating scope but has a non-serializable interceptor {1}",
format=MESSAGE_FORMAT)
DeploymentException passivatingBeanWithNonserializableInterceptor(Object param1,
Object param2)
@Message(id=1403,
value="The bean {0} declares a passivating scope but has a non-serializable decorator {1}",
format=MESSAGE_FORMAT)
UnserializableDependencyException passivatingBeanWithNonserializableDecorator(Object param1,
Object param2)
@Message(id=1404,
value="The injection point is annotated with @New which cannot be combined with other qualifiers: {0}\n\tat {1}\n StackTrace",
format=MESSAGE_FORMAT)
DefinitionException newWithQualifiers(Object param1,
Object stackElement)
@Message(id=1405,
value="Cannot inject {0} in a class which is not a bean\n\tat {1}\n StackTrace",
format=MESSAGE_FORMAT)
DefinitionException injectionIntoNonBean(Object param1,
Object stackElement)
@Message(id=1406,
value="Cannot inject injection point metadata in a non @Dependent scoped bean: {0}\n\tat {1}\n StackTrace",
format=MESSAGE_FORMAT)
DefinitionException injectionIntoNonDependentBean(Object param1,
Object stackElement)
@Message(id=1407,
value="Cannot declare an injection point with a type variable: {0}\n\tat {1}\n StackTrace",
format=MESSAGE_FORMAT)
DefinitionException injectionPointWithTypeVariable(Object param1,
Object stackElement)
@Message(id=1408,
value="Unsatisfied dependencies for type {2} with qualifiers {1}\n at injection point {0}\n at {3}\n{4}",
format=MESSAGE_FORMAT)
DeploymentException injectionPointHasUnsatisfiedDependencies(Object param1,
Object param2,
Object param3,
Object param4,
Object param5)
@Message(id=1409,
value="Ambiguous dependencies for type {2} with qualifiers {1}\n at injection point {0}\n at {3}\n Possible dependencies: {4}\n",
format=MESSAGE_FORMAT)
DeploymentException injectionPointHasAmbiguousDependencies(Object param1,
Object param2,
Object param3,
Object param4,
Object param5)
@Message(id=1410,
value="The injection point has non-proxyable dependencies: {0}\n\tat {1}\n StackTrace",
format=MESSAGE_FORMAT)
DeploymentException injectionPointHasNonProxyableDependencies(Object param1,
Object stackElement,
@Cause
Throwable cause)
@Message(id=1413,
value="The bean {0} declares a passivating scope but has a non-passivation-capable dependency {1}",
format=MESSAGE_FORMAT)
UnserializableDependencyException injectionPointHasNonSerializableDependency(Object param1,
Object param2)
@Message(id=1414,
value="Bean name is ambiguous. Name {0} resolves to beans: {1}",
format=MESSAGE_FORMAT)
DeploymentException ambiguousElName(Object param1,
Object param2)
@Message(id=1415,
value="Bean name is identical to a bean name prefix used elsewhere. Name {0}",
format=MESSAGE_FORMAT)
DeploymentException beanNameIsPrefix(Object param1)
@Message(id=1416,
value="Enabled interceptor class {0} specified twice:\n - {1},\n - {2}",
format=MESSAGE_FORMAT)
DeploymentException interceptorSpecifiedTwice(Object param1,
Object param2,
Object param3)
@Message(id=1417,
value="Enabled interceptor class {0} ({1}) does not match an interceptor bean: the class is not found, or not annotated with @Interceptor and still not registered through a portable extension, or not annotated with @Dependent inside an implicit bean archive",
format=MESSAGE_FORMAT)
DeploymentException interceptorClassDoesNotMatchInterceptorBean(Object value,
Object location)
@Message(id=1418,
value="Enabled decorator class {0} specified twice:\n - {1},\n - {2}",
format=MESSAGE_FORMAT)
DeploymentException decoratorSpecifiedTwice(Object param1,
Object param2,
Object param3)
@Message(id=1419,
value="Enabled decorator class {0} is not the bean class of at least one decorator bean (detected decorator beans: {1})",
format=MESSAGE_FORMAT)
DeploymentException decoratorClassNotBeanClassOfDecorator(Object param1,
Object param2)
@Message(id=1420,
value="Enabled alternative {0} is not a stereotype",
format=MESSAGE_FORMAT)
DeploymentException alternativeStereotypeNotStereotype(Object param1)
@Message(id=1421,
value="Cannot enable the same alternative stereotype {0} in beans.xml:\n - {1},\n - {2}",
format=MESSAGE_FORMAT)
DeploymentException alternativeStereotypeSpecifiedMultipleTimes(Object param1,
Object param2,
Object param3)
@Message(id=1422,
value="Enabled alternative class {0} ({1}) does not match any bean, or is not annotated with @Alternative or an @Alternative stereotype, or does not declare a producer annotated with @Alternative or an @Alternative stereotype",
format=MESSAGE_FORMAT)
DeploymentException alternativeBeanClassNotAnnotated(Object value,
Object location)
@Message(id=1424,
value="The following disposal methods were declared but did not resolve to a producer method: {0}",
format=MESSAGE_FORMAT)
DefinitionException disposalMethodsWithoutProducer(Object param1)
@Message(id=1425,
value="An injection point cannot have a wildcard type parameter: {0}\n\tat {1}\n StackTrace",
format=MESSAGE_FORMAT)
DefinitionException injectionPointHasWildcard(Object param1,
Object stackElement)
@Message(id=1426,
value="An injection point must have a type parameter: {0}\n\tat {1}\n StackTrace",
format=MESSAGE_FORMAT)
DefinitionException injectionPointMustHaveTypeParameter(Object param1,
Object stackElement)
@Message(id=1427,
value="Only field injection points can use the @Named qualifier with no value: {0}\n\tat {1}\n StackTrace",
format=MESSAGE_FORMAT)
DefinitionException nonFieldInjectionPointCannotUseNamed(Object param1,
Object stackElement)
@Message(id=1428,
value="A decorator cannot have producer methods, but at least one was found on {0}.",
format=MESSAGE_FORMAT)
DefinitionException decoratorsCannotHaveProducerMethods(Object param1)
@Message(id=1429,
value="A decorator cannot have producer fields, but at least one was found on {0}.",
format=MESSAGE_FORMAT)
DefinitionException decoratorsCannotHaveProducerFields(Object param1)
@Message(id=1430,
value="A decorator cannot have disposer methods, but at least one was found on {0}.",
format=MESSAGE_FORMAT)
DefinitionException decoratorsCannotHaveDisposerMethods(Object param1)
@Message(id=1431,
value="An interceptor cannot have producer methods, but at least one was found on {0}.",
format=MESSAGE_FORMAT)
DefinitionException interceptorsCannotHaveProducerMethods(Object param1)
@Message(id=1432,
value="An interceptor cannot have producer fields, but at least one was found on {0}.",
format=MESSAGE_FORMAT)
DefinitionException interceptorsCannotHaveProducerFields(Object param1)
@Message(id=1433,
value="An interceptor cannot have disposer methods, but at least one was found on {0}.",
format=MESSAGE_FORMAT)
DefinitionException interceptorsCannotHaveDisposerMethods(Object param1)
@Message(id=1434,
value="Normal scoped bean {0} is not proxyable for an unknown reason - {1}.",
format=MESSAGE_FORMAT)
UnproxyableResolutionException notProxyableUnknown(Object param1,
Object param2)
@Message(id=1435,
value="Normal scoped bean {0} is not proxyable because it has no no-args constructor - {1}.",
format=MESSAGE_FORMAT)
UnproxyableResolutionException notProxyableNoConstructor(Object param1,
Object param2)
@Message(id=1436,
value="Type {0} is not proxyable because it has a private constructor {1} - {2}.",
format=MESSAGE_FORMAT)
String notProxyablePrivateConstructor(Object param1,
Object param2,
Object param3)
@Message(id=1437,
value="Bean type {0} is not proxyable because it is final - {1}.",
format=MESSAGE_FORMAT)
UnproxyableResolutionException notProxyableFinalType(Object param1,
Object param2)
@Message(id=1438,
value="Bean type {0} is not proxyable because it is a primitive - {1}.",
format=MESSAGE_FORMAT)
UnproxyableResolutionException notProxyablePrimitive(Object param1,
Object param2)
@Message(id=1439,
value="Bean type {0} is not proxyable because it is an array type - {1}.",
format=MESSAGE_FORMAT)
UnproxyableResolutionException notProxyableArrayType(Object param1,
Object param2)
@LogMessage(level=WARN)
@Message(id=1440,
value="Scope type {0} used on injection point {1}\n\tat {2}\n StackTrace",
format=MESSAGE_FORMAT)
void scopeAnnotationOnInjectionPoint(Object param1,
Object param2,
Object stackElement)
@Message(id=1441,
value="Enabled alternative {0} is not a class",
format=MESSAGE_FORMAT)
DeploymentException alternativeBeanClassNotClass(Object param1)
@Message(id=1442,
value="Enabled alternative {0} is not annotated @Alternative",
format=MESSAGE_FORMAT)
DeploymentException alternativeStereotypeNotAnnotated(Object param1)
@Message(id=1443,
value="Pseudo scoped bean has circular dependencies. Dependency path: {0}",
format=MESSAGE_FORMAT)
DeploymentException pseudoScopedBeanHasCircularReferences(Object param1)
@Message(id=1445,
value="An interceptor cannot have observer methods, but at least one was found on {0}.",
format=MESSAGE_FORMAT)
DefinitionException interceptorsCannotHaveObserverMethods(Object param1)
@Message(id=1446,
value="A decorator cannot have observer methods, but at least one was found on {0}.",
format=MESSAGE_FORMAT)
DefinitionException decoratorsCannotHaveObserverMethods(Object param1)
@Message(id=1447,
value="Method {0} defined on class {1} is not defined according to the specification. It is annotated with @{2} but it does not return {3}\n\tat {4}\n StackTrace",
format=MESSAGE_FORMAT)
DefinitionException interceptorMethodDoesNotReturnObject(Object param1,
Object param2,
Object param3,
Object param4,
Object stackElement)
@Message(id=1448,
value="Method {0} defined on class {1} is not defined according to the specification. It is annotated with @{2} but it does not have exactly one parameter\n\tat {3}\n StackTrace",
format=MESSAGE_FORMAT)
DefinitionException interceptorMethodDoesNotHaveExactlyOneParameter(Object param1,
Object param2,
Object param3,
Object stackElement)
@Message(id=1449,
value="Method {0} defined on class {1} is not defined according to the specification. It is annotated with @{2} but its single parameter is not a {3}\n\tat {4}\n StackTrace",
format=MESSAGE_FORMAT)
DefinitionException interceptorMethodDoesNotHaveCorrectTypeOfParameter(Object param1,
Object param2,
Object param3,
Object param4,
Object stackElement)
@Message(id=1451,
value="javax.transaction.UserTransaction cannot be injected into an enterprise bean with container-managed transactions: {0}\n\tat {1}\n StackTrace",
format=MESSAGE_FORMAT)
DefinitionException userTransactionInjectionIntoBeanWithContainerManagedTransactions(Object param1,
Object stackElement)
@Message(id=1452,
value="{0} is not a valid type for a Bean metadata injection point {1}\n\tat {2}\n StackTrace",
format=MESSAGE_FORMAT)
DefinitionException invalidBeanMetadataInjectionPointType(Object param1,
Object param2,
Object stackElement)
@Message(id=1453,
value="{0} is not a valid type argument for a Bean metadata injection point {1}\n\tat {2}\n StackTrace",
format=MESSAGE_FORMAT)
DefinitionException invalidBeanMetadataInjectionPointTypeArgument(Object param1,
Object param2,
Object stackElement)
@Message(id=1454,
value="{0} cannot be used at a Bean metadata injection point of a bean which is not {1}, {2}\n\tat {3}\n StackTrace",
format=MESSAGE_FORMAT)
DefinitionException invalidBeanMetadataInjectionPointQualifier(Object param1,
Object param2,
Object param3,
Object stackElement)
@Message(id=1455,
value="{0} does not declare any decorated types.",
format=MESSAGE_FORMAT)
DefinitionException noDecoratedTypes(Object param1)
@Message(id=1456,
value="Argument {0} must not be null",
format=MESSAGE_FORMAT)
IllegalArgumentException argumentNull(Object param1)
@Message(id=1457,
value="Cannot enable the same alternative class {0} in beans.xml:\n - {1},\n - {2}",
format=MESSAGE_FORMAT)
DeploymentException alternativeClassSpecifiedMultipleTimes(Object param1,
Object param2,
Object param3)
@Message(id=1463,
value="Bean declaring a passivating scope must be passivation capable. Bean: {0}",
format=MESSAGE_FORMAT)
DeploymentException beanWithPassivatingScopeNotPassivationCapable(Object param1)
@Message(id=1465,
value="{0} for a built-in bean {1} must be passivation capable.",
format=MESSAGE_FORMAT)
UnserializableDependencyException builtinBeanWithNonserializableDecorator(Object param1,
Object param2)
@Message(id=1466,
value="Invalid injection point found in a disposer method: {0}\n\tat {1}\n StackTrace",
format=MESSAGE_FORMAT)
DefinitionException injectionIntoDisposerMethod(Object param1,
Object stackElement)
@Message(id=1467,
value="Method {0} defined on class {1} is not defined according to the specification. It is annotated with @{2} but it does not return {3} or {4}.\n\tat {5}\n StackTrace",
format=MESSAGE_FORMAT)
DefinitionException interceptorMethodDoesNotReturnObjectOrVoid(Object param1,
Object param2,
Object param3,
Object param4,
Object param5,
Object stackElement)
@Message(id=1468,
value="Method {0} defined on class {1} is not defined according to the specification. It is annotated with @{2} but it does not have a {3} return type.\n\tat {4}\n StackTrace",
format=MESSAGE_FORMAT)
DefinitionException interceptorMethodDoesNotHaveVoidReturnType(Object param1,
Object param2,
Object param3,
Object param4,
Object stackElement)
@LogMessage(level=WARN)
@Message(id=1469,
value="Method {0} defined on class {1} is not defined according to the specification. It is annotated with @{2} but it does not have zero parameters.\n",
format=MESSAGE_FORMAT)
void interceptorMethodDoesNotHaveZeroParameters(Object param1,
Object param2,
Object param3)
@LogMessage(level=WARN)
@Message(id=1471,
value="Interceptor method {0} defined on class {1} is not defined according to the specification. It should not throw {2}, which is a checked exception.\n\tat {3}\n StackTrace",
format=MESSAGE_FORMAT)
void interceptorMethodShouldNotThrowCheckedExceptions(Object param1,
Object param2,
Object param3,
Object stackElement)
@Message(id=1472,
value="EventMetadata can only be injected into an observer method: {0}\n\tat {1}\n StackTrace",
format=MESSAGE_FORMAT)
DefinitionException eventMetadataInjectedOutsideOfObserver(Object param1,
Object stackElement)
@LogMessage(level=WARN)
@Message(id=1473,
value="javax.enterprise.inject.spi.Bean implementation {0} declared a normal scope but does not implement javax.enterprise.inject.spi.PassivationCapable. It won\'\'\'t be possible to inject this bean into a bean with a passivating scope (@SessionScoped, @ConversationScoped). This can be fixed by assigning the Bean implementation a unique id by implementing the PassivationCapable interface.",
format=MESSAGE_FORMAT)
void beanNotPassivationCapable(Object param1)
@Message(id=1474,
value="Class {0} is on the classpath, but was ignored because a class it references was not found: {1}.\n",
format=MESSAGE_FORMAT)
String unsatisfiedDependencyBecauseClassIgnored(Object param1,
Object param2)
@Message(id=1475,
value="The following beans match by type, but none have matching qualifiers:{0}\n",
format=MESSAGE_FORMAT)
String unsatisfiedDependencyBecauseQualifiersDontMatch(Object param1)
@Message(id=1476,
value="{0} must be @Dependent",
format=MESSAGE_FORMAT)
DefinitionException interceptorOrDecoratorMustBeDependent(Object param1)
@Message(id=1477,
value="The bean {0} declares a passivating scope but has a(n) {1} with a non-passivation-capable dependency {2}",
format=MESSAGE_FORMAT)
UnserializableDependencyException interceptorDecoratorInjectionPointHasNonSerializableDependency(Object param1,
Object param2,
Object param3)
@LogMessage(level=WARN)
@Message(id=1478,
value="Interceptor {0} is enabled for the application and for the bean archive {1}. It will only be invoked in the @Priority part of the chain.",
format=MESSAGE_FORMAT)
void interceptorEnabledForApplicationAndBeanArchive(Object interceptor,
Object beanArchive)
@LogMessage(level=WARN)
@Message(id=1479,
value="Decorator {0} is enabled for the application and for the bean archive {1}. It will only be invoked in the @Priority part of the chain.",
format=MESSAGE_FORMAT)
void decoratorEnabledForApplicationAndBeanArchive(Object decorator,
Object beanArchive)
@Message(id=1480,
value="Bean type {0} is not proxyable because it contains a final method {1} - {2}.",
format=MESSAGE_FORMAT)
UnproxyableResolutionException notProxyableFinalMethod(Object beanType,
Method finalMethod,
Object declaringBean)
@LogMessage(level=WARN)
@Message(id=1481,
value="Final method will be ignored during proxy generation and should never be invoked upon the proxy instance! {0} - {1}.",
format=MESSAGE_FORMAT)
void notProxyableFinalMethodIgnored(Method invalidMethod,
Object declaringBean)
@Message(id=1482,
value="InterceptionFactory can only be injected in a parameter of a producer method: {0}\n\tat {1}\n StackTrace",
format=MESSAGE_FORMAT)
DefinitionException invalidInterceptionFactoryInjectionPoint(Object injectionPoint,
Object stackElement)
@Message(id=1483,
value="Argument must not be null",
format=MESSAGE_FORMAT)
IllegalArgumentException argumentNull()
@Message(id=1485,
value="Method {0} defined on class {1} is not defined according to the specification. It is annotated with @{2} and it declares more than one parameter.\n\tat {3}\n StackTrace",
format=MESSAGE_FORMAT)
DefinitionException interceptorMethodDeclaresMultipleParameters(Object param1,
Object param2,
Object param3,
Object stackElement)
Copyright © 2019. All rights reserved.