org.hudsonci.inject
Class Smoothie

java.lang.Object
  extended by org.hudsonci.inject.Smoothie

public class Smoothie
extends Object

Smoothie container access.

Since:
1.397
Author:
Jason Dillon

Constructor Summary
Smoothie()
           
 
Method Summary
static SmoothieContainer getContainer()
          Get the container singleton.
static void setContainer(SmoothieContainer instance)
          Set the container singleton.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Smoothie

public Smoothie()
Method Detail

setContainer

public static void setContainer(SmoothieContainer instance)
Set the container singleton. Can only be set once.

Parameters:
instance - The container instance; must not be null

getContainer

public static SmoothieContainer getContainer()
Get the container singleton.

Returns:
The container instance; never null


Copyright © 2004-2011 Hudson. All Rights Reserved.