public class WebSocketScopeContext extends Object implements javax.enterprise.context.spi.Context
A CDI Context definition for how CDI will use objects defined to belong to the WebSocketScope
| Constructor and Description |
|---|
WebSocketScopeContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
begin() |
void |
create() |
static WebSocketScopeContext |
current() |
void |
destroy() |
void |
end() |
<T> T |
get(javax.enterprise.context.spi.Contextual<T> contextual) |
<T> T |
get(javax.enterprise.context.spi.Contextual<T> contextual,
javax.enterprise.context.spi.CreationalContext<T> creationalContext) |
Class<? extends Annotation> |
getScope() |
Session |
getSession() |
boolean |
isActive() |
<T> T |
newInstance(Class<T> clazz) |
void |
setSession(Session sess) |
String |
toString() |
public static WebSocketScopeContext current()
public void begin()
public void create()
public void destroy()
public void end()
public <T> T get(javax.enterprise.context.spi.Contextual<T> contextual)
get in interface javax.enterprise.context.spi.Contextpublic <T> T get(javax.enterprise.context.spi.Contextual<T> contextual,
javax.enterprise.context.spi.CreationalContext<T> creationalContext)
get in interface javax.enterprise.context.spi.Contextpublic Class<? extends Annotation> getScope()
getScope in interface javax.enterprise.context.spi.Contextpublic boolean isActive()
isActive in interface javax.enterprise.context.spi.Contextpublic <T> T newInstance(Class<T> clazz)
public void setSession(Session sess)
public Session getSession()
Copyright © 1995–2017 Webtide. All rights reserved.