Search in sources :

Example 1 with ClassAvailableActivationImpl

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);
}
Also used : ClassAvailableActivation(org.jboss.weld.bootstrap.spi.ClassAvailableActivation) ClassAvailableActivationImpl(org.jboss.weld.metadata.ClassAvailableActivationImpl)

Aggregations

ClassAvailableActivation (org.jboss.weld.bootstrap.spi.ClassAvailableActivation)1 ClassAvailableActivationImpl (org.jboss.weld.metadata.ClassAvailableActivationImpl)1