org.jboss.weld.logging.BeanLogger Maven / Gradle / Ivy
/*
* JBoss, Home of Professional Open Source
* Copyright 2013, Red Hat, Inc., and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.jboss.weld.logging;
import static org.jboss.weld.logging.WeldLogger.WELD_PROJECT_CODE;
import org.jboss.logging.Logger;
import org.jboss.logging.Logger.Level;
import org.jboss.logging.annotations.Cause;
import org.jboss.logging.annotations.LogMessage;
import org.jboss.logging.annotations.Message;
import org.jboss.logging.annotations.Message.Format;
import org.jboss.logging.annotations.MessageLogger;
import org.jboss.weld.exceptions.CreationException;
import org.jboss.weld.exceptions.DefinitionException;
import org.jboss.weld.exceptions.DeploymentException;
import org.jboss.weld.exceptions.IllegalArgumentException;
import org.jboss.weld.exceptions.IllegalProductException;
import org.jboss.weld.exceptions.IllegalStateException;
import org.jboss.weld.exceptions.InvalidObjectException;
import org.jboss.weld.exceptions.NullInstanceException;
import org.jboss.weld.exceptions.UnsupportedOperationException;
import org.jboss.weld.exceptions.WeldException;
/**
* Log messages for Beans.
*
* Message IDs: 000000 - 000099, 001500 - 001599
*/
@MessageLogger(projectCode = WELD_PROJECT_CODE)
public interface BeanLogger extends WeldLogger {
BeanLogger LOG = Logger.getMessageLogger(BeanLogger.class, Category.BEAN.getName());
@LogMessage(level = Level.TRACE)
@Message(id = 1, value = "Exactly one constructor ({0}) annotated with @Inject defined, using it as the bean constructor for {1}", format = Format.MESSAGE_FORMAT)
void foundOneInjectableConstructor(Object param1, Object param2);
@LogMessage(level = Level.TRACE)
@Message(id = 2, value = "Exactly one constructor ({0}) defined, using it as the bean constructor for {1}", format = Format.MESSAGE_FORMAT)
void foundDefaultConstructor(Object param1, Object param2);
/**
* @deprecated Not in use
*/
@Deprecated
@Message(id = 3, value = "Found {0} methods annotated with @PostConstruct for {1}", format = Format.MESSAGE_FORMAT)
String foundPostConstructMethods(Object param1, Object param2);
@LogMessage(level = Level.TRACE)
@Message(id = 4, value = "Exactly one post construct method ({0}) for {1}", format = Format.MESSAGE_FORMAT)
void foundOnePostConstructMethod(Object param1, Object param2);
/**
* @deprecated Not in use
*/
@Deprecated
@Message(id = 5, value = "Found {0} methods annotated with @PreDestroy for {1}", format = Format.MESSAGE_FORMAT)
String foundPreDestroyMethods(Object param1, Object param2);
@LogMessage(level = Level.TRACE)
@Message(id = 6, value = "Exactly one pre destroy method ({0}) for {1}", format = Format.MESSAGE_FORMAT)
void foundOnePreDestroyMethod(Object param1, Object param2);
@LogMessage(level = Level.TRACE)
@Message(id = 7, value = "Created session bean proxy for {0}", format = Format.MESSAGE_FORMAT)
void createdSessionBeanProxy(Object param1);
@LogMessage(level = Level.TRACE)
@Message(id = 8, value = "Called {0} on {1} with parameters {2} which returned {3}", format = Format.MESSAGE_FORMAT)
void callProxiedMethod(Object param1, Object param2, Object param3, Object param4);
@Message(id = 9, value = "Dynamic lookup of {0} is not supported", format = Format.MESSAGE_FORMAT)
IllegalArgumentException dynamicLookupOfBuiltInNotAllowed(Object param1);
@LogMessage(level = Level.TRACE)
@Message(id = 10, value = "Using qualifiers {0} for {1}", format = Format.MESSAGE_FORMAT)
void qualifiersUsed(Object param1, Object param2);
/**
* @deprecated Not in use
*/
@Deprecated
@Message(id = 11, value = "Adding @Default qualifier for {0}", format = Format.MESSAGE_FORMAT)
String usingDefaultQualifier(Object param1);
@LogMessage(level = Level.TRACE)
@Message(id = 12, value = "Building bean metadata for {0}", format = Format.MESSAGE_FORMAT)
void creatingBean(Object param1);
/**
* @deprecated Not in use
*/
@Deprecated
@Message(id = 13, value = "Using default name {0} for {1}", format = Format.MESSAGE_FORMAT)
String usingDefaultName(Object param1, Object param2);
@LogMessage(level = Level.TRACE)
@Message(id = 14, value = "Using name {0} for {1}", format = Format.MESSAGE_FORMAT)
void usingName(Object param1, Object param2);
/**
* @deprecated Not in use
*/
@Deprecated
@Message(id = 15, value = "Using scope {0} for {1} from merged stereotypes {2}", format = Format.MESSAGE_FORMAT)
String usingScopeFromStereotype(Object param1, Object param2, Object param3);
@LogMessage(level = Level.TRACE)
@Message(id = 16, value = "Using scope {0} for {1}", format = Format.MESSAGE_FORMAT)
void usingScope(Object param1, Object param2);
/**
* @deprecated Not in use
*/
@Deprecated
@Message(id = 17, value = "Using default @Dependent scope for {0}", format = Format.MESSAGE_FORMAT)
String usingDefaultScope(Object param1);
@LogMessage(level = Level.WARN)
@Message(id = 18, value = "Executing producer field or method {0} on incomplete declaring bean {1} due to circular injection", format = Format.MESSAGE_FORMAT)
void circularCall(Object param1, Object param2);
@LogMessage(level = Level.ERROR)
@Message(id = 19, value = "Error destroying an instance {0} of {1}", format = Format.MESSAGE_FORMAT)
void errorDestroying(Object param1, Object param2);
/**
* @deprecated Not in use
*/
@Deprecated
@Message(id = 20, value = "Delegate injection point not found on decorator {0}", format = Format.MESSAGE_FORMAT)
String delegateInjectionPointNotFound(Object param1);
/**
* @deprecated Not in use
*/
@Deprecated
@Message(id = 21, value = "The annotation {0} is not a binding for {1}", format = Format.MESSAGE_FORMAT)
String annotationNotBinding(Object param1, Object param2);
/**
* @deprecated Not in use
*/
@Deprecated
@Message(id = 22, value = "The annotation {0} is already present in the bindings list for {1}", format = Format.MESSAGE_FORMAT)
String duplicateBinding(Object param1, Object param2);
@Message(id = 23, value = "Type parameter must be a concrete type: {0}", format = Format.MESSAGE_FORMAT)
String typeParameterMustBeConcrete(Object param1);
/**
* @deprecated Not in use
*/
@Deprecated
@Message(id = 24, value = "ValidationServices are not available")
String validationServiceNotAvailable();
@Message(id = 25, value = "Tried to create an EEResourceProducerField, but no @Resource, @PersistenceContext, @PersistenceUnit, @WebServiceRef or @EJB is present {0}", format = Format.MESSAGE_FORMAT)
IllegalStateException invalidResourceProducerField(Object param1);
@Message(id = 26, value = "SecurityServices not available")
IllegalStateException securityServicesNotAvailable();
@Message(id = 27, value = "TransactionServices not available")
IllegalStateException transactionServicesNotAvailable();
@Message(id = 28, value = "Interception model must not be null")
IllegalArgumentException interceptionModelNull();
@Message(id = 29, value = "InterceptionType must not be null")
IllegalArgumentException interceptionTypeNull();
@Message(id = 30, value = "Method must not be null")
IllegalArgumentException methodNull();
@Message(id = 31, value = "InterceptionType must not be lifecycle, but it is {0}", format = Format.MESSAGE_FORMAT)
IllegalArgumentException interceptionTypeLifecycle(Object param1);
@Message(id = 32, value = "InterceptionType must be lifecycle, but it is {0}", format = Format.MESSAGE_FORMAT)
IllegalArgumentException interceptionTypeNotLifecycle(Object param1);
@Message(id = 33, value = "Could not instantiate client proxy for {0}", format = Format.MESSAGE_FORMAT)
String proxyInstantiationFailed(Object param1);
@Message(id = 34, value = "Could not access bean correctly when creating client proxy for {0}", format = Format.MESSAGE_FORMAT)
String proxyInstantiationBeanAccessFailed(Object param1);
@Message(id = 35, value = "There was an error creating an id for {0}", format = Format.MESSAGE_FORMAT)
DefinitionException beanIdCreationFailed(Object param1);
@Message(id = 36, value = "Unexpected unwrapped custom decorator instance: {0}", format = Format.MESSAGE_FORMAT)
IllegalStateException unexpectedUnwrappedCustomDecorator(Object param1);
@Message(id = 37, value = "Cannot call EJB remove method directly on non-dependent scoped bean {0}", format = Format.MESSAGE_FORMAT)
UnsupportedOperationException invalidRemoveMethodInvocation(Object param1);
@Message(id = 38, value = "Cannot place @Delegate at an injection point which is not on a Decorator: {0}", format = Format.MESSAGE_FORMAT)
DefinitionException delegateNotOnDecorator(Object param1);
@Message(id = 39, value = "@Typed class {0} is not present in the type hierarchy {1}", format = Format.MESSAGE_FORMAT)
DefinitionException typedClassNotInHierarchy(Object param1, Object param2);
@Message(id = 40, value = "All stereotypes must specify the same scope OR a scope must be specified on {0}", format = Format.MESSAGE_FORMAT)
DefinitionException multipleScopesFoundFromStereotypes(Object param1);
@Message(id = 41, value = "Cannot put name on specializing and specialized class {0}", format = Format.MESSAGE_FORMAT)
DefinitionException nameNotAllowedOnSpecialization(Object param1);
@Message(id = 42, value = "Cannot operate on non container provided decorator {0}", format = Format.MESSAGE_FORMAT)
IllegalStateException nonContainerDecorator(Object param1);
@Message(id = 43, value = "The following bean is not an EE resource producer: {0}", format = Format.MESSAGE_FORMAT)
IllegalStateException beanNotEeResourceProducer(Object param1);
@Message(id = 44, value = "Unable to obtain instance from {0}", format = Format.MESSAGE_FORMAT)
NullInstanceException nullInstance(Object param1);
@Message(id = 45, value = "Proxy required")
InvalidObjectException proxyRequired();
@Message(id = 46, value = "At most one scope may be specified on {0}", format = Format.MESSAGE_FORMAT)
DefinitionException onlyOneScopeAllowed(Object param1);
@Message(id = 47, value = "Specializing bean must extend another bean: {0}", format = Format.MESSAGE_FORMAT)
DefinitionException specializingBeanMustExtendABean(Object param1);
@Message(id = 48, value = "Conflicting interceptor bindings found on {0}", format = Format.MESSAGE_FORMAT)
String conflictingInterceptorBindings(Object param1);
@Message(id = 49, value = "Unable to invoke {0} on {1}", format = Format.MESSAGE_FORMAT)
WeldException invocationError(Object param1, Object param2, @Cause Throwable cause);
@Message(id = 50, value = "Cannot cast producer type {0} to bean type {1}", format = Format.MESSAGE_FORMAT)
WeldException producerCastError(Object param1, Object param2, @Cause Throwable cause);
@Message(id = 51, value = "Return type must be concrete: {0}", format = Format.MESSAGE_FORMAT)
DefinitionException returnTypeMustBeConcrete(Object param1);
@Message(id = 52, value = "Cannot return null from a non-dependent producer method: {0}", format = Format.MESSAGE_FORMAT)
IllegalProductException nullNotAllowedFromProducer(Object param1);
@Message(id = 53, value = "Producers cannot declare passivating scope and return a non-serializable class: {0}", format = Format.MESSAGE_FORMAT)
IllegalProductException nonSerializableProductError(Object param1);
@Message(id = 54, value = "Producers cannot produce non-serializable instances for injection into non-transient fields of passivating beans\n\nProducer: {0}\nInjection Point: {1}", format = Format.MESSAGE_FORMAT)
IllegalProductException nonSerializableFieldInjectionError(Object param1, Object param2);
/**
* @deprecated Not in use
*/
@Deprecated
@Message(id = 55, value = "Producers cannot produce non-serializable instances for injection into parameters of initializers of beans declaring passivating scope.\n\nBean: {0}\nInjection Point: {1}", format = Format.MESSAGE_FORMAT)
String nonSerializableInitializerParamInjectionError(Object param1, Object param2);
/**
* @deprecated Not in use
*/
@Deprecated
@Message(id = 56, value = "Producers cannot produce non-serializable instances for injection into parameters of producer methods declaring passivating scope.\n\nBean: {0}\nInjection Point: {1}", format = Format.MESSAGE_FORMAT)
String nonSerializableProducerParamInjectionError(Object param1, Object param2);
/**
* @deprecated Not in use
*/
@Deprecated
@Message(id = 57, value = "Producers cannot produce non-serializable instances for injection into parameters of constructors of beans declaring passivating scope.\n\nBean: {0}\nInjection Point: {1}", format = Format.MESSAGE_FORMAT)
String nonSerializableConstructorParamInjectionError(Object param1, Object param2);
@Message(id = 58, value = "Method with @Delegate parameter must be an initializer method: {0}", format = Format.MESSAGE_FORMAT)
DefinitionException delegateOnNonInitializerMethod(Object param1);
@Message(id = 59, value = "No delegate injection points defined for {0}", format = Format.MESSAGE_FORMAT)
DefinitionException noDelegateForDecorator(Object param1);
@Message(id = 60, value = "Too many delegate injection points defined for {0}", format = Format.MESSAGE_FORMAT)
DefinitionException tooManyDelegatesForDecorator(Object param1);
@Message(id = 61, value = "The delegate type must extend or implement every decorated type. Decorated type {0} on {1}", format = Format.MESSAGE_FORMAT)
DefinitionException delegateMustSupportEveryDecoratedType(Object param1, Object param2);
/**
* @deprecated Not in use
*/
@Deprecated
@Message(id = 62, value = "The decorated type is parameterized, but the delegate type isn't. Delegate type {0} on {1}", format = Format.MESSAGE_FORMAT)
String decoratedTypeParameterizedDelegateNot(Object param1, Object param2);
/**
* @deprecated Not in use
*/
@Deprecated
@Message(id = 63, value = "The delegate type must have exactly the same type parameters as the decorated type. Decorated type {0} on decorator {1}", format = Format.MESSAGE_FORMAT)
String delegateTypeParameterMismatch(Object param1, Object param2);
@Message(id = 64, value = "Unable to process {0}", format = Format.MESSAGE_FORMAT)
String unableToProcess(Object param1);
/**
* @deprecated Not in use
*/
@Deprecated
@Message(id = 65, value = "{0} does not have @Dispose as first parameter", format = Format.MESSAGE_FORMAT)
String disposeNotFirstParam(Object param1);
@Message(id = 66, value = "{0} has more than one @Dispose parameter", format = Format.MESSAGE_FORMAT)
DefinitionException multipleDisposeParams(Object param1);
@Message(id = 67, value = "{0} is not allowed on same method as {1}, see {2}", format = Format.MESSAGE_FORMAT)
DefinitionException inconsistentAnnotationsOnMethod(Object param1, Object param2, Object param3);
@Message(id = 68, value = "Method {0} must be declared on a business interface of {1}", format = Format.MESSAGE_FORMAT)
DefinitionException methodNotBusinessMethod(Object param1, Object param2);
/**
* @deprecated Not in use
* @see WELD-1668
*/
@Deprecated
@Message(id = 69, value = "An interceptor must have at least one binding, but {0} has none", format = Format.MESSAGE_FORMAT)
DeploymentException missingBindingOnInterceptor(Object param1);
@Message(id = 70, value = "Simple bean {0} cannot be a non-static inner class", format = Format.MESSAGE_FORMAT)
DefinitionException simpleBeanAsNonStaticInnerClassNotAllowed(Object param1);
@Message(id = 71, value = "Managed bean {0} must be @Dependent", format = Format.MESSAGE_FORMAT)
DefinitionException beanMustBeDependent(Object param1);
@Message(id = 72, value = "Bean declaring a passivating scope must be passivation capable. Bean: {0}", format = Format.MESSAGE_FORMAT)
DeploymentException passivatingBeanNeedsSerializableImpl(Object param1);
@Message(id = 73, value = "Bean class which has decorators cannot be declared final: {0}", format = Format.MESSAGE_FORMAT)
DeploymentException finalBeanClassWithDecoratorsNotAllowed(Object param1);
/**
* @deprecated Not in use
*/
@Deprecated
@Message(id = 74, value = "Decorated bean method {0} (decorated by {1}) cannot be declared final", format = Format.MESSAGE_FORMAT)
String finalDecoratedBeanMethodNotAllowed(Object param1, Object param2);
@Message(id = 75, value = "Normal scoped managed bean implementation class has a public field: {0}", format = Format.MESSAGE_FORMAT)
DefinitionException publicFieldOnNormalScopedBeanNotAllowed(Object param1);
@Message(id = 76, value = "Managed bean constructor must not have a parameter annotated {0}: {1}", format = Format.MESSAGE_FORMAT)
DefinitionException parameterAnnotationNotAllowedOnConstructor(Object param1, Object param2);
@Message(id = 77, value = "Cannot declare multiple disposal methods for this producer method.\n\nProducer method: {0}\nDisposal methods: {1}", format = Format.MESSAGE_FORMAT)
DefinitionException multipleDisposalMethods(Object param1, Object param2);
@Message(id = 78, value = "Specialized producer method does not override a method on the direct superclass: {0}", format = Format.MESSAGE_FORMAT)
DefinitionException producerMethodNotSpecializing(Object param1);
@Message(id = 79, value = "Could not find the EJB in JNDI: {0}", format = Format.MESSAGE_FORMAT)
CreationException ejbNotFound(Object param1, @Cause Throwable cause);
@Message(id = 80, value = "Enterprise beans cannot be interceptors: {0}", format = Format.MESSAGE_FORMAT)
DefinitionException ejbCannotBeInterceptor(Object param1);
@Message(id = 81, value = "Enterprise beans cannot be decorators: {0}", format = Format.MESSAGE_FORMAT)
DefinitionException ejbCannotBeDecorator(Object param1);
@Message(id = 82, value = "Scope {0} is not allowed on stateless enterprise beans for {1}. Only @Dependent is allowed on stateless session beans.", format = Format.MESSAGE_FORMAT)
DefinitionException scopeNotAllowedOnStatelessSessionBean(Object param1, Object param2);
@Message(id = 83, value = "Scope {0} is not allowed on singleton enterprise beans for {1}. Only @Dependent and @ApplicationScoped is allowed on singleton session beans.", format = Format.MESSAGE_FORMAT)
DefinitionException scopeNotAllowedOnSingletonBean(Object param1, Object param2);
@Message(id = 84, value = "Specializing enterprise bean must extend another enterprise bean: {0}", format = Format.MESSAGE_FORMAT)
DefinitionException specializingEnterpriseBeanMustExtendAnEnterpriseBean(Object param1);
@Message(id = 85, value = "Cannot destroy null instance of {0}", format = Format.MESSAGE_FORMAT)
IllegalArgumentException cannotDestroyNullBean(Object param1);
@Message(id = 86, value = "Cannot destroy session bean instance not created by the container: {0}", format = Format.MESSAGE_FORMAT)
IllegalArgumentException cannotDestroyEnterpriseBeanNotCreated(Object param1);
@Message(id = 87, value = "Message driven beans cannot be Managed Beans: {0}", format = Format.MESSAGE_FORMAT)
DefinitionException messageDrivenBeansCannotBeManaged(Object param1);
@Message(id = 88, value = "Observer method must be static or local business method: {0} on {1}", format = Format.MESSAGE_FORMAT)
DefinitionException observerMethodMustBeStaticOrBusiness(Object param1, Object param2);
@Message(id = 89, value = "Unable to determine EJB for {0}, multiple EJBs with that class: {1}", format = Format.MESSAGE_FORMAT)
IllegalStateException tooManyEjbsForClass(Object param1, Object param2);
@Message(id = 90, value = "Method {0} defined on {1} does not match any method on decorated types", format = Format.MESSAGE_FORMAT)
DefinitionException abstractMethodMustMatchDecoratedType(Object param1, Object param2);
/**
* @deprecated Not in use
*/
@Deprecated
@Message(id = 91, value = "Cannot handle injection point as a constructor or method: {0}", format = Format.MESSAGE_FORMAT)
String ipNotConstructorOrMethod(Object param1);
/**
* @deprecated Not in use
*/
@Deprecated
@Message(id = 92, value = "Parameter position {0} is not in the parameter list: {1}", format = Format.MESSAGE_FORMAT)
String paramNotInParamList(Object param1, Object param2);
/**
* @deprecated Not in use
*/
@Deprecated
@Message(id = 93, value = "Cannot read object")
String cannotReadObject();
@Message(id = 94, value = "Injected field {0} cannot be annotated @Produces on {1}", format = Format.MESSAGE_FORMAT)
DefinitionException injectedFieldCannotBeProducer(Object param1, Object param2);
@Message(id = 95, value = "Session bean with generic class {0} must be @Dependent scope", format = Format.MESSAGE_FORMAT)
DefinitionException genericSessionBeanMustBeDependent(Object param1);
@Message(id = 96, value = "Producer fields on session beans must be static. Field {0} declared on {1}", format = Format.MESSAGE_FORMAT)
DefinitionException producerFieldOnSessionBeanMustBeStatic(Object param1, Object param2);
@Message(id = 97, value = "A producer method with a parameterized return type with a type variable must be declared @Dependent scoped. Method {0}", format = Format.MESSAGE_FORMAT)
DefinitionException producerMethodWithTypeVariableReturnTypeMustBeDependent(Object param1);
@Message(id = 98, value = "A producer method cannot have a return type parameterized with wildcards. Method {0}", format = Format.MESSAGE_FORMAT)
DefinitionException producerMethodCannotHaveAWildcardReturnType(Object param1);
@Message(id = 99, value = "Cannot load class {0} during deserialization of proxy", format = Format.MESSAGE_FORMAT)
WeldException cannotLoadClass(Object param1, @Cause Throwable cause);
@Message(id = 1500, value = "Failed to deserialize proxy object with beanId {0}", format = Format.MESSAGE_FORMAT)
WeldException proxyDeserializationFailure(Object param1);
@Message(id = 1501, value = "Method call requires a BeanInstance which has not been set for this proxy {0}", format = Format.MESSAGE_FORMAT)
WeldException beanInstanceNotSetOnProxy(Object param1);
@Message(id = 1502, value = "Resource producer field [{0}] must be @Dependent scoped", format = Format.MESSAGE_FORMAT)
DefinitionException nonDependentResourceProducerField(Object param1);
@Message(id = 1503, value = "Bean class which has interceptors cannot be declared final: {0}", format = Format.MESSAGE_FORMAT)
DeploymentException finalBeanClassWithInterceptorsNotAllowed(Object param1);
@Message(id = 1504, value = "Intercepted bean method {0} (intercepted by {1}) cannot be declared final", format = Format.MESSAGE_FORMAT)
DeploymentException finalInterceptedBeanMethodNotAllowed(Object param1, Object param2);
/**
* @deprecated Not in use
*/
@Deprecated
@Message(id = 1505, value = "Failed to set ThreadLocal for serialization on proxy using reflection {0}", format = Format.MESSAGE_FORMAT)
String failedToSetThreadLocalOnProxy(Object param1);
@LogMessage(level = Level.TRACE)
@Message(id = 1506, value = "Created new client proxy of type {0} for bean {1} with ID {2}", format = Format.MESSAGE_FORMAT)
void createdNewClientProxyType(Object param1, Object param2, Object param3);
@LogMessage(level = Level.TRACE)
@Message(id = 1507, value = "Located client proxy of type {0} for bean {1}", format = Format.MESSAGE_FORMAT)
void lookedUpClientProxy(Object param1, Object param2);
@Message(id = 1508, value = "Cannot create an InjectionTarget from {0} as it is an interface", format = Format.MESSAGE_FORMAT)
DefinitionException injectionTargetCannotBeCreatedForInterface(Object param1);
@Message(id = 1510, value = "Non passivation capable bean serialized with ProxyMethodHandler")
WeldException proxyHandlerSerializedForNonSerializableBean();
@Message(id = 1511, value = "Specializing bean {0} does not have bean type {1} of specialized bean {2}", format = Format.MESSAGE_FORMAT)
DefinitionException specializingBeanMissingSpecializedType(Object param1, Object param2, Object param3);
@Message(id = 1512, value = "{0} cannot be constructed for {1}", format = Format.MESSAGE_FORMAT)
IllegalArgumentException invalidInjectionPointType(Object param1, Object param2);
@Message(id = 1513, value = "An implementation of AnnotatedCallable must implement either AnnotatedConstructor or AnnotatedMethod, {0}", format = Format.MESSAGE_FORMAT)
IllegalArgumentException invalidAnnotatedCallable(Object param1);
@Message(id = 1514, value = "An implementation of AnnotatedMember must implement either AnnotatedConstructor, AnnotatedMethod or AnnotatedField, {0}", format = Format.MESSAGE_FORMAT)
IllegalArgumentException invalidAnnotatedMember(Object param1);
@Message(id = 1515, value = "Unable to load annotated member {0}", format = Format.MESSAGE_FORMAT)
IllegalStateException unableToLoadMember(Object param1);
@Message(id = 1516, value = "Resource producer field [{0}] must not have an EL name", format = Format.MESSAGE_FORMAT)
DefinitionException namedResourceProducerField(Object param1);
@Message(id = 1517, value = "The type of the resource producer field [{0}] does not match the resource type {1}", format = Format.MESSAGE_FORMAT)
DefinitionException invalidResourceProducerType(Object param1, Object param2);
@Message(id = 1518, value = "Cannot create Producer implementation. Declaring bean missing for a non-static member {0}", format = Format.MESSAGE_FORMAT)
IllegalArgumentException declaringBeanMissing(Object param1);
@LogMessage(level = Level.DEBUG)
@Message(id = 1519, value = "An InjectionTarget is created for an abstract {0}. It will not be possible to produce instances of this type!", format = Format.MESSAGE_FORMAT)
void injectionTargetCreatedForAbstractClass(Object param1);
@Message(id = 1520, value = "Beans with different bean names {0}, {1} cannot be specialized by a single bean {2}", format = Format.MESSAGE_FORMAT)
DefinitionException beansWithDifferentBeanNamesCannotBeSpecialized(Object param1, Object param2, Object param3);
@Message(id = 1521, value = "InjectionPoint.getAnnotated() must return either AnnotatedParameter or AnnotatedField but {0} was returned for {1}", format = Format.MESSAGE_FORMAT)
IllegalArgumentException invalidAnnotatedOfInjectionPoint(Object param1, Object param2);
@Message(id = 1522, value = "Unable to restore InjectionPoint. No matching InjectionPoint found on {0}", format = Format.MESSAGE_FORMAT)
IllegalStateException unableToRestoreInjectionPoint(Object param1);
@Message(id = 1523, value = "Unable to restore InjectionPoint. Multiple matching InjectionPoints found on {0}:\n - {1},\n - {2}", format = Format.MESSAGE_FORMAT)
IllegalStateException unableToRestoreInjectionPointMultiple(Object param1, Object param2, Object param3);
@Message(id = 1524, value = "Unable to load proxy class for bean {0} with class {1} using classloader {2}", format = Format.MESSAGE_FORMAT)
WeldException unableToLoadProxyClass(Object param1, Object param2, Object param3, @Cause Throwable cause);
@Message(id = 1525, value = "Instance.destroy() is not supported. The underlying context {0} does not support destroying of contextual instances", format = Format.MESSAGE_FORMAT)
UnsupportedOperationException destroyUnsupported(Object param1);
@Message(id = 1526, value = "Managed bean declaring a passivating scope has a non-passivation capable decorator. Bean: {0} Decorator: {1}", format = Format.MESSAGE_FORMAT)
DeploymentException passivatingBeanHasNonPassivationCapableDecorator(Object param1, Object param2);
@Message(id = 1527, value = "Managed bean declaring a passivating scope has a non-serializable interceptor. Bean: {0} Interceptor: {1}", format = Format.MESSAGE_FORMAT)
DeploymentException passivatingBeanHasNonPassivationCapableInterceptor(Object param1, Object param2);
/**
* @deprecated Not in use
*/
@Deprecated
@Message(id = 1528, value = "Unable to create a new instance of {0}", format = Format.MESSAGE_FORMAT)
String cannotInstantiateAbstractClass(Object param1);
@LogMessage(level = Level.DEBUG)
@Message(id = 1529, value = "An InjectionTarget is created for a {0} which does not have any appropriate constructor. It will not be possible to produce instances of this type!", format = Format.MESSAGE_FORMAT)
void injectionTargetCreatedForClassWithoutAppropriateConstructor(Object param1);
@Message(id = 1530, value = "Cannot produce an instance of {0}.", format = Format.MESSAGE_FORMAT)
CreationException injectionTargetCannotProduceInstance(Object param1);
@Message(id = 1531, value = "Instance.iterator().remove() is not supported.")
UnsupportedOperationException instanceIteratorRemoveUnsupported();
@Message(id = 1532, value = "A passivation capable bean cannot have a null id: {0}", format = Format.MESSAGE_FORMAT)
IllegalArgumentException passivationCapableBeanHasNullId(Object param1);
@LogMessage(level = Level.DEBUG)
@Message(id = 1533, value = "An InjectionTarget is created for a non-static inner {0}. It will not be possible to produce instances of this type!", format = Format.MESSAGE_FORMAT)
void injectionTargetCreatedForNonStaticInnerClass(Object param1);
@Message(id = 1534, value = "Bean class which has decorators must have a public constructor without parameters: {0}", format = Format.MESSAGE_FORMAT)
DeploymentException decoratedHasNoNoargsConstructor(Object param1);
@Message(id = 1535, value = "Constructor without parameters cannot be private in bean class which has decorators: {0}", format = Format.MESSAGE_FORMAT)
DeploymentException decoratedNoargsConstructorIsPrivate(Object param1);
/**
* ID of this message was originally 0 but in jboss-logging zero is a special value meaning no ID
*
* @param params
*/
@LogMessage(level = Level.TRACE)
@Message(id = 1536, value = "Found {0} constructors annotated with @Inject for {1}", format = Format.MESSAGE_FORMAT)
void foundInjectableConstructors(Object param1, Object param2);
// Message version of 1529
@Message(id = 1537, value = "An InjectionTarget is created for a {0} which does not have any appropriate constructor.", format = Format.MESSAGE_FORMAT)
DefinitionException injectionTargetCreatedForClassWithoutAppropriateConstructorException(Object param1);
@LogMessage(level = Level.TRACE)
@Message(id = 1538, value = "Created context instance for bean {0} identified as {1}", format = Format.MESSAGE_FORMAT)
void createdContextInstance(Object param1, Object param2);
@LogMessage(level = Level.TRACE)
@Message(id = 1539, value = "Created MH initializer body for decorator proxy: {0}", format = Format.MESSAGE_FORMAT)
void createdMethodHandlerInitializerForDecoratorProxy(Object param1);
@LogMessage(level = Level.TRACE)
@Message(id = 1540, value = "Adding method to enterprise proxy: {0}", format = Format.MESSAGE_FORMAT)
void addingMethodToEnterpriseProxy(Object param1);
@LogMessage(level = Level.TRACE)
@Message(id = 1541, value = "Adding method to proxy: {0}", format = Format.MESSAGE_FORMAT)
void addingMethodToProxy(Object param1);
@LogMessage(level = Level.TRACE)
@Message(id = 1542, value = "Retrieving/generating proxy class {0}", format = Format.MESSAGE_FORMAT)
void generatingProxyClass(Object param1);
@LogMessage(level = Level.TRACE)
@Message(id = 1543, value = "Created Proxy class of type {0} supporting interfaces {1}", format = Format.MESSAGE_FORMAT)
void createdProxyClass(Object param1, Object param2);
@LogMessage(level = Level.TRACE)
@Message(id = 1544, value = "MethodHandler processing returning bean instance for {0}", format = Format.MESSAGE_FORMAT)
void methodHandlerProcessingReturningBeanInstance(Object param1);
@LogMessage(level = Level.TRACE)
@Message(id = 1545, value = "MethodHandler processing call to {0} for {1}", format = Format.MESSAGE_FORMAT)
void methodHandlerProcessingCall(Object param1, Object param2);
@LogMessage(level = Level.TRACE)
@Message(id = 1546, value = "Setting new MethodHandler with bean instance for {0} on {1}", format = Format.MESSAGE_FORMAT)
void settingNewMethodHandler(Object param1, Object param2);
@LogMessage(level = Level.TRACE)
@Message(id = 1547, value = "Invoking interceptor chain for method {0} on {1}", format = Format.MESSAGE_FORMAT)
void invokingInterceptorChain(Object param1, Object param2);
@LogMessage(level = Level.TRACE)
@Message(id = 1548, value = "Invoking method {0} directly on {1}", format = Format.MESSAGE_FORMAT)
void invokingMethodDirectly(Object param1, Object param2);
@Message(id = 1549, value = "Unable to determine parent creational context of {0}", format = Format.MESSAGE_FORMAT)
IllegalArgumentException unableToDetermineParentCreationalContext(Object param1);
@Message(id = 1550, value = "A producer field with a parameterized type with a type variable must be declared @Dependent scoped. Field {0}", format = Format.MESSAGE_FORMAT)
DefinitionException producerFieldWithTypeVariableBeanTypeMustBeDependent(Object param1);
@Message(id = 1551, value = "A producer field's type cannot be a parameterized type with wildcards. Field {0}", format = Format.MESSAGE_FORMAT)
DefinitionException producerFieldCannotHaveAWildcardBeanType(Object param1);
@LogMessage(level = Level.WARN)
@Message(id = 1552, value = "An extension ({0}) has a non-static public field ({1}).", format = Format.MESSAGE_FORMAT)
void extensionWithNonStaticPublicField(Object param1, Object param2);
@LogMessage(level = Level.TRACE)
@Message(id = 1553, value = "Proxy activated after passivation for {0}", format = Format.MESSAGE_FORMAT)
void activatedSessionBeanProxy(Object param1);
@Message(id = 1554, value = "Bean.{0}() returned null for {1}", format = Format.MESSAGE_FORMAT)
DefinitionException beanMethodReturnsNull(Object param1, Object param2);
@Message(id = 1555, value = "Decorator.{0}() returned null for {1}", format = Format.MESSAGE_FORMAT)
DefinitionException decoratorMethodReturnsNull(Object param1, Object param2);
@Message(id = 1556, value = "Specializing {0} cannot specialize a non-managed bean {1}", format = Format.MESSAGE_FORMAT)
DefinitionException specializingManagedBeanCanExtendOnlyManagedBeans(Object param1, Object param2);
@LogMessage(level = Level.WARN)
@Message(id = 1557, value = "Unable to dump the proxy class file for {0}", format = Format.MESSAGE_FORMAT)
void beanCannotBeDumped(Object param1, @Cause Throwable cause);
@LogMessage(level = Level.WARN)
@Message(id = 1558, value = "Unable to create directory {0} to dump the proxy classes.", format = Format.MESSAGE_FORMAT)
void directoryCannotBeCreated(Object param1);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy