Package org.eclipse.jetty.cdi.websocket
Class WebSocketScopeContext
- java.lang.Object
-
- org.eclipse.jetty.cdi.websocket.WebSocketScopeContext
-
- All Implemented Interfaces:
javax.enterprise.context.spi.Context
@Deprecated public class WebSocketScopeContext extends java.lang.Object implements javax.enterprise.context.spi.ContextDeprecated.WebSocket Scope Context.A CDI Context definition for how CDI will use objects defined to belong to the WebSocketScope
-
-
Constructor Summary
Constructors Constructor Description WebSocketScopeContext()Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidbegin()Deprecated.voidcreate()Deprecated.static WebSocketScopeContextcurrent()Deprecated.voiddestroy()Deprecated.voidend()Deprecated.<T> Tget(javax.enterprise.context.spi.Contextual<T> contextual)Deprecated.<T> Tget(javax.enterprise.context.spi.Contextual<T> contextual, javax.enterprise.context.spi.CreationalContext<T> creationalContext)Deprecated.java.lang.Class<? extends java.lang.annotation.Annotation>getScope()Deprecated.SessiongetSession()Deprecated.booleanisActive()Deprecated.<T> TnewInstance(java.lang.Class<T> clazz)Deprecated.voidsetSession(Session sess)Deprecated.java.lang.StringtoString()Deprecated.
-
-
-
Method Detail
-
current
public static WebSocketScopeContext current()
Deprecated.
-
begin
public void begin()
Deprecated.
-
create
public void create()
Deprecated.
-
destroy
public void destroy()
Deprecated.
-
end
public void end()
Deprecated.
-
get
public <T> T get(javax.enterprise.context.spi.Contextual<T> contextual)
Deprecated.- Specified by:
getin interfacejavax.enterprise.context.spi.Context
-
get
public <T> T get(javax.enterprise.context.spi.Contextual<T> contextual, javax.enterprise.context.spi.CreationalContext<T> creationalContext)Deprecated.- Specified by:
getin interfacejavax.enterprise.context.spi.Context
-
getScope
public java.lang.Class<? extends java.lang.annotation.Annotation> getScope()
Deprecated.- Specified by:
getScopein interfacejavax.enterprise.context.spi.Context
-
isActive
public boolean isActive()
Deprecated.- Specified by:
isActivein interfacejavax.enterprise.context.spi.Context
-
newInstance
public <T> T newInstance(java.lang.Class<T> clazz)
Deprecated.
-
setSession
public void setSession(Session sess)
Deprecated.
-
getSession
public Session getSession()
Deprecated.
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toStringin classjava.lang.Object
-
-