org.sonatype.guice.bean.locators
Interface MutableBeanLocator

All Superinterfaces:
BeanLocator
All Known Implementing Classes:
DefaultBeanLocator

public interface MutableBeanLocator
extends BeanLocator

Mutable BeanLocator that tracks zero or more Injectors.


Method Summary
 void add(com.google.inject.Injector injector)
          Adds qualified beans belonging to the given injector to any exposed/watched sequences.
 void clear()
          Removes all known qualified beans from any exposed/watched sequences.
 void remove(com.google.inject.Injector injector)
          Removes qualified beans belonging to the given injector from any exposed/watched sequences.
 
Methods inherited from interface org.sonatype.guice.bean.locators.BeanLocator
locate, watch
 

Method Detail

add

void add(com.google.inject.Injector injector)
Adds qualified beans belonging to the given injector to any exposed/watched sequences.

Parameters:
injector - The new injector

remove

void remove(com.google.inject.Injector injector)
Removes qualified beans belonging to the given injector from any exposed/watched sequences.

Parameters:
injector - The old injector

clear

void clear()
Removes all known qualified beans from any exposed/watched sequences.



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