use of org.jboss.weld.metadata.ClassAvailableActivationImpl in project core by weld.
the class BeansXmlStreamParser method classAvailable.
private void classAvailable(StartElement element, Consumer<Metadata<ClassAvailableActivation>> consumer, boolean inverse) {
String className = getAttribute(element, NAME_ATTRIBUTE_NAME);
Metadata<ClassAvailableActivation> classAvailableActivation = new XmlMetadata<ClassAvailableActivation>(element.getName().toString(), new ClassAvailableActivationImpl(className, inverse), beansXml, element.getLocation().getLineNumber());
consumer.accept(classAvailableActivation);
}
Aggregations