public interface

BindingSubscriber

org.sonatype.guice.bean.locators.spi.BindingSubscriber

Class Overview

Subscriber of Bindings from one or more BindingPublishers.

Summary

Public Methods
abstract <T> void add(Binding<T> binding, int rank)
Adds the given ranked Binding to this subscriber.
abstract void clear()
Removes all known Bindings from this subscriber.
abstract <T> void remove(Binding<T> binding)
Removes the given Binding from this subscriber.

Public Methods

public abstract void add (Binding<T> binding, int rank)

Adds the given ranked Binding to this subscriber.

Parameters
binding The new binding
rank The assigned rank

public abstract void clear ()

Removes all known Bindings from this subscriber.

public abstract void remove (Binding<T> binding)

Removes the given Binding from this subscriber.

Parameters
binding The old binding