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);
}
Aggregations