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

com.netflix.archaius.AbstractProperty Maven / Gradle / Ivy

There is a newer version: 2.8.2
Show newest version
package com.netflix.archaius;

import com.netflix.archaius.api.Property;
import com.netflix.archaius.api.PropertyListener;

public abstract class AbstractProperty implements Property {

    private final String key;
    
    public AbstractProperty(String key) {
        this.key = key;
    }
    
    @Override
    public void addListener(PropertyListener listener) {
        throw new UnsupportedOperationException();
    }

    @Override
    public void removeListener(PropertyListener listener) {
        throw new UnsupportedOperationException();
    }

    @Override
    public String getKey() {
        return key;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy