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

org.weakref.jmx.guice.ExportBuilder Maven / Gradle / Ivy

There is a newer version: 1.26
Show newest version
package org.weakref.jmx.guice;

import com.google.inject.Key;
import com.google.inject.multibindings.Multibinder;

@Deprecated
public class ExportBuilder
{
	private final Multibinder binder; 
	
	ExportBuilder(Multibinder binder)
    {
		this.binder = binder;
	}

	public AnnotatedExportBuilder export(Class clazz)
    {
		return new AnnotatedExportBuilder(binder, Key.get(clazz));
	}

    public NamedBindingBuilder export(Key key)
    {
        return new NamedBindingBuilder(binder, key);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy