/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  org.springframework.beans.factory.FactoryBean
 */
package com.l7tech.server.util;

import java.util.Properties;
import org.springframework.beans.factory.FactoryBean;

public class PropertiesValueFactoryBean
implements FactoryBean {
    private final Properties a;
    private final String b;

    public PropertiesValueFactoryBean(Properties properties, String string) {
        this.a = properties;
        this.b = string;
    }

    public Object getObject() throws Exception {
        return this.a.getProperty(this.b, "");
    }

    public Class getObjectType() {
        return String.class;
    }

    public boolean isSingleton() {
        return true;
    }
}

