All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.weld.metadata.MetadataImpl Maven / Gradle / Ivy

There is a newer version: 6.0.0.Beta4
Show newest version
package org.jboss.weld.metadata;

import org.jboss.weld.bootstrap.spi.Metadata;

public class MetadataImpl implements Metadata {

    private final String location;
    private final T value;

    public MetadataImpl(T value, String location) {
        this.location = location;
        this.value = value;
    }

    public String getLocation() {
        return location;
    }

    public T getValue() {
        return value;
    }

    @Override
    public String toString() {
        return getLocation();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy