org.granite.client.tide.cdi
Class ViewContext

java.lang.Object
  extended by org.granite.client.tide.cdi.ViewContext
All Implemented Interfaces:
Context

public class ViewContext
extends Object
implements Context

Author:
William DRAI

Nested Class Summary
static class ViewContext.ViewBeanResetter<T>
           
 
Constructor Summary
ViewContext()
           
 
Method Summary
<T> T
get(Contextual<T> bean)
           
<T> T
get(Contextual<T> bean, CreationalContext<T> cc)
           
 Class<? extends Annotation> getScope()
           
 boolean isActive()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewContext

public ViewContext()
Method Detail

get

public <T> T get(Contextual<T> bean)
Specified by:
get in interface Context

get

public <T> T get(Contextual<T> bean,
                 CreationalContext<T> cc)
Specified by:
get in interface Context

getScope

public Class<? extends Annotation> getScope()
Specified by:
getScope in interface Context

isActive

public boolean isActive()
Specified by:
isActive in interface Context