org.hudsonci.inject
Interface SmoothieContainer

All Known Implementing Classes:
SmoothieContainerImpl

public interface SmoothieContainer

Smoothie container.

Since:
1.397
Author:
Jason Dillon

Method Summary
<T> T
get(com.google.inject.Key<T> key)
          Get a component instance.
 com.google.inject.Injector injector(PluginWrapper plugin)
          Returns the injector for a plugin.
<Q extends Annotation,T>
Iterable<org.sonatype.inject.BeanEntry<Q,T>>
locate(com.google.inject.Key<T> key)
          Locate components.
 void register(PluginWrapper plugin)
          Register injection for a plugin.
 

Method Detail

register

void register(PluginWrapper plugin)
Register injection for a plugin.


injector

com.google.inject.Injector injector(PluginWrapper plugin)
Returns the injector for a plugin.


locate

<Q extends Annotation,T> Iterable<org.sonatype.inject.BeanEntry<Q,T>> locate(com.google.inject.Key<T> key)
Locate components.


get

<T> T get(com.google.inject.Key<T> key)
Get a component instance.



Copyright © 2004-2011 Hudson. All Rights Reserved.