org.granite.gravity.weblogic
Class WebLogicChannel

java.lang.Object
  extended by org.granite.gravity.AbstractChannel
      extended by org.granite.gravity.weblogic.WebLogicChannel
All Implemented Interfaces:
Channel

public class WebLogicChannel
extends AbstractChannel

Author:
Franck WOLFF

Field Summary
 
Fields inherited from class org.granite.gravity.AbstractChannel
id, publishedQueue, publishedQueueLock, publisher, receivedQueue, receivedQueueLock, receiver, servletConfig, subscriptions
 
Constructor Summary
WebLogicChannel(ServletConfig servletConfig, GravityConfig gravityConfig, String id)
           
 
Method Summary
protected  AsyncHttpContext acquireAsyncHttpContext()
           
 void destroy()
           
protected  boolean hasAsyncHttpContext()
           
protected  void releaseAsyncHttpContext(AsyncHttpContext context)
           
 void setRequestResponseKey(weblogic.servlet.http.RequestResponseKey key)
           
 
Methods inherited from class org.granite.gravity.AbstractChannel
addSubscription, equals, getGravity, getId, getServletConfig, getServletContext, getSubscriptions, hashCode, hasPublishedMessage, hasReceivedMessage, publish, queueReceiver, receive, removeSubscription, runPublish, runReceive, runReceived, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebLogicChannel

public WebLogicChannel(ServletConfig servletConfig,
                       GravityConfig gravityConfig,
                       String id)
Method Detail

setRequestResponseKey

public void setRequestResponseKey(weblogic.servlet.http.RequestResponseKey key)

hasAsyncHttpContext

protected boolean hasAsyncHttpContext()
Specified by:
hasAsyncHttpContext in class AbstractChannel

acquireAsyncHttpContext

protected AsyncHttpContext acquireAsyncHttpContext()
Specified by:
acquireAsyncHttpContext in class AbstractChannel

releaseAsyncHttpContext

protected void releaseAsyncHttpContext(AsyncHttpContext context)
Specified by:
releaseAsyncHttpContext in class AbstractChannel

destroy

public void destroy()
Specified by:
destroy in interface Channel
Overrides:
destroy in class AbstractChannel