com.google.inject.spi
Interface PrivateElements

All Superinterfaces:
Element

public interface PrivateElements
extends Element

A private collection of elements that are hidden from the enclosing injector or module by default. See PrivateModule for details.

Since:
2.0

Method Summary
 List<Element> getElements()
          Returns the configuration information in this private environment.
 Set<Key<?>> getExposedKeys()
          Returns the unique exposed keys for these private elements.
 Injector getInjector()
          Returns the child injector that hosts these private elements, or null if the elements haven't been used to create an injector.
 
Methods inherited from interface com.google.inject.spi.Element
acceptVisitor, getSource
 

Method Detail

getElements

List<Element> getElements()
Returns the configuration information in this private environment.


getInjector

Injector getInjector()
Returns the child injector that hosts these private elements, or null if the elements haven't been used to create an injector.


getExposedKeys

Set<Key<?>> getExposedKeys()
Returns the unique exposed keys for these private elements.