Search in sources :

Example 1 with SystemPropertyActivationImpl

use of org.jboss.weld.metadata.SystemPropertyActivationImpl in project core by weld.

the class BeansXmlStreamParser method systemProperty.

private void systemProperty(StartElement element, Consumer<Metadata<SystemPropertyActivation>> consumer) {
    String name = getAttribute(element, NAME_ATTRIBUTE_NAME);
    String value = getAttribute(element, VALUE_ATTRIBUTE_NAME);
    Metadata<SystemPropertyActivation> activation = new XmlMetadata<SystemPropertyActivation>(element.getName().toString(), new SystemPropertyActivationImpl(name, value), beansXml, element.getLocation().getLineNumber());
    consumer.accept(activation);
}
Also used : SystemPropertyActivation(org.jboss.weld.bootstrap.spi.SystemPropertyActivation) SystemPropertyActivationImpl(org.jboss.weld.metadata.SystemPropertyActivationImpl)

Aggregations

SystemPropertyActivation (org.jboss.weld.bootstrap.spi.SystemPropertyActivation)1 SystemPropertyActivationImpl (org.jboss.weld.metadata.SystemPropertyActivationImpl)1