net.contextfw.web.application.internal.scope
Class WebApplicationScopedBeans

java.lang.Object
  extended by net.contextfw.web.application.internal.scope.WebApplicationScopedBeans

public class WebApplicationScopedBeans
extends Object


Constructor Summary
WebApplicationScopedBeans()
           
 
Method Summary
static void clearCurrentInstance()
           
static WebApplicationScopedBeans createNewInstance()
           
 Map<com.google.inject.Key<?>,Object> getBeans()
           
static WebApplicationScopedBeans getCurrentInstance()
           
<T> void
seed(Class<T> clazz, T value)
           
<T> void
seed(com.google.inject.Key<T> key, T value)
           
 void setAsCurrentInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebApplicationScopedBeans

public WebApplicationScopedBeans()
Method Detail

getBeans

public Map<com.google.inject.Key<?>,Object> getBeans()

getCurrentInstance

public static WebApplicationScopedBeans getCurrentInstance()

setAsCurrentInstance

public void setAsCurrentInstance()

clearCurrentInstance

public static void clearCurrentInstance()

createNewInstance

public static WebApplicationScopedBeans createNewInstance()

seed

public <T> void seed(Class<T> clazz,
                     T value)

seed

public <T> void seed(com.google.inject.Key<T> key,
                     T value)


Copyright © 2010. All Rights Reserved.