Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* 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.LogMessage;
import org.jboss.logging.annotations.Message;
import org.jboss.logging.annotations.Message.Format;
import org.jboss.logging.annotations.MessageLogger;
import org.jboss.weld.annotated.slim.AnnotatedTypeIdentifier;
import org.jboss.weld.exceptions.DefinitionException;
import org.jboss.weld.exceptions.IllegalArgumentException;
import org.jboss.weld.exceptions.IllegalStateException;
/**
* Log messages for Meta Data.
*
* Message IDs: 001100 - 001199
*/
@MessageLogger(projectCode = WELD_PROJECT_CODE)
public interface MetadataLogger extends WeldLogger {
MetadataLogger LOG = Logger.getMessageLogger(MetadataLogger.class, Category.BOOTSTRAP.getName());
@Message(id = 1100, value = "{0} can only be applied to an annotation. It was applied to {1}", format = Format.MESSAGE_FORMAT)
DefinitionException metaAnnotationOnWrongType(Object param1, Object param2);
@LogMessage(level = Level.DEBUG)
@Message(id = 1101, value = "Member of array type or annotation type must be annotated @NonBinding: {0}", format = Format.MESSAGE_FORMAT)
void nonBindingMemberType(Object param1);
@Message(id = 1102, value = "Stereotype {0} not registered with container", format = Format.MESSAGE_FORMAT)
IllegalStateException stereotypeNotRegistered(Object param1);
@Message(id = 1103, value = "Cannot declare qualifiers on stereotype {0}", format = Format.MESSAGE_FORMAT)
DefinitionException qualifierOnStereotype(Object param1);
@Message(id = 1104, value = "Cannot specify a value for @Named stereotype {0}", format = Format.MESSAGE_FORMAT)
DefinitionException valueOnNamedStereotype(Object param1);
@Message(id = 1105, value = "At most one scope type may be specified for {0}", format = Format.MESSAGE_FORMAT)
DefinitionException multipleScopes(Object param1);
@Message(id = 1106, value = "BeanAttributes.getStereotypes() returned null for {0}", format = Format.MESSAGE_FORMAT)
DefinitionException stereotypesNull(Object param1);
@Message(id = 1107, value = "{0}() returned null for {1}", format = Format.MESSAGE_FORMAT)
DefinitionException qualifiersNull(Object param1, Object param2);
@Message(id = 1108, value = "BeanAttributes.getTypes() returned null for {0}", format = Format.MESSAGE_FORMAT)
DefinitionException typesNull(Object param1);
@Message(id = 1109, value = "BeanAttributes.getScope() returned null for {0}", format = Format.MESSAGE_FORMAT)
DefinitionException scopeNull(Object param1);
@Message(id = 1110, value = "{0} defined on {1} is not a stereotype", format = Format.MESSAGE_FORMAT)
DefinitionException notAStereotype(Object param1, Object param2);
@Message(id = 1111, value = "{0} defined on {1} is not a qualifier", format = Format.MESSAGE_FORMAT)
DefinitionException notAQualifier(Object param1, Object param2);
@Message(id = 1112, value = "BeanAttributes.getTypes() may not return an empty set {0}", format = Format.MESSAGE_FORMAT)
DefinitionException typesEmpty(Object param1);
@Message(id = 1113, value = "{0} defined on {1} is not a scope annotation", format = Format.MESSAGE_FORMAT)
DefinitionException notAScope(Object param1, Object param2);
@Message(id = 1114, value = "{0} returned null for {1}", format = Format.MESSAGE_FORMAT)
IllegalArgumentException metadataSourceReturnedNull(Object param1, Object param2);
@Message(id = 1115, value = "Parameter position {0} of parameter {1} is not valid", format = Format.MESSAGE_FORMAT)
IllegalArgumentException invalidParameterPosition(Object param1, Object param2);
@LogMessage(level = Level.WARN)
@Message(id = 1116, value = "AnnotatedType ({0}) without a constructor", format = Format.MESSAGE_FORMAT)
void noConstructor(Object param1);
@LogMessage(level = 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 = Format.MESSAGE_FORMAT)
void notInHierarchy(Object memberName, Object member, Object annotatedTypeJavaClassName, Object annotatedType, Object stackElement);
@Message(id = 1118, value = "A type variable is not a valid bean type. Bean type {0} of bean {1}", format = Format.MESSAGE_FORMAT)
DefinitionException typeVariableIsNotAValidBeanType(Object param1, Object param2);
@Message(id = 1119, value = "A parameterized type containing wildcard parameters is not a valid bean type. Bean type {0} of bean {1}", format = Format.MESSAGE_FORMAT)
DefinitionException parameterizedTypeContainingWildcardParameterIsNotAValidBeanType(Object param1, Object param2);
@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 = Format.MESSAGE_FORMAT)
DefinitionException beanWithParameterizedTypeContainingTypeVariablesMustBeDependentScoped(Object param1, Object param2);
@Message(id = 1121, value = "Member of array type or annotation type must be annotated @NonBinding: {0}", format = Format.MESSAGE_FORMAT)
DefinitionException nonBindingMemberTypeException(Object param1);
@Message(id = 1122, value = "Failed to deserialize annotated type identified with {0}", format = Format.MESSAGE_FORMAT)
IllegalStateException annotatedTypeDeserializationFailure(AnnotatedTypeIdentifier identifier);
@Message(id = 1123, value = "{0} defined on {1} is not an interceptor binding", format = Format.MESSAGE_FORMAT)
DefinitionException notAnInterceptorBinding(Object param1, Object param2);
@LogMessage(level = Level.WARN)
@Message(id = 1124, value = "Context.getScope() returned {0} which is not a scope annotation. Context: {1}", format = Format.MESSAGE_FORMAT)
void contextGetScopeIsNotAScope(Object param1, Object param2);
@LogMessage(level = Level.INFO)
@Message(id = 1125, value = "Illegal bean type {0} ignored on {1}", format = Format.MESSAGE_FORMAT)
void illegalBeanTypeIgnored(Object type, Object annotated);
}