org.sonatype.guice.bean.locators.spi
Interface BindingDistributor

All Known Subinterfaces:
MutableBeanLocator
All Known Implementing Classes:
DefaultBeanLocator

public interface BindingDistributor

Distributor of Bindings retrieved from a series of BindingPublishers.


Method Summary
 void add(BindingPublisher publisher, int rank)
          Adds the given ranked BindingPublisher and distributes its Bindings.
 void clear()
          Removes all known BindingPublishers and their Bindings.
 void remove(BindingPublisher publisher)
          Removes the given BindingPublisher and its Bindings.
 

Method Detail

add

void add(BindingPublisher publisher,
         int rank)
Adds the given ranked BindingPublisher and distributes its Bindings.

Parameters:
publisher - The new publisher
rank - The assigned rank

remove

void remove(BindingPublisher publisher)
Removes the given BindingPublisher and its Bindings.

Parameters:
publisher - The old publisher

clear

void clear()
Removes all known BindingPublishers and their Bindings.



Copyright © 2010-2011 Sonatype, Inc.. All Rights Reserved.