org.atmosphere.container
Class WebLogicCometSupport

java.lang.Object
  extended by org.atmosphere.cpr.AsynchronousProcessor
      extended by org.atmosphere.container.WebLogicCometSupport
All Implemented Interfaces:
CometSupport<AtmosphereEventImpl>

public class WebLogicCometSupport
extends AsynchronousProcessor
implements CometSupport<AtmosphereEventImpl>

Weblogic support.

Author:
Jeanfrancois Arcand

Field Summary
static String RRK
           
 
Fields inherited from class org.atmosphere.cpr.AsynchronousProcessor
EVENT, logger
 
Constructor Summary
WebLogicCometSupport(AtmosphereServlet.AtmosphereConfig config)
           
 
Method Summary
 void action(AtmosphereEventImpl actionEvent)
          Process an AtmosphereServlet.Action from an ActionEvent operation like suspend, resume or timed out.
 String getContainerDottedVersion()
          Return the supported version of the Java Web Server
 String getContainerName()
          Return the name of the Java Web Server.
 AtmosphereServlet.Action service(HttpServletRequest req, HttpServletResponse res)
          Serve the HttpServletRequest and the HttpServletResponse.
 
Methods inherited from class org.atmosphere.cpr.AsynchronousProcessor
cancelled, init, resumed, suspended, timedout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.atmosphere.cpr.CometSupport
init
 

Field Detail

RRK

public static final String RRK
See Also:
Constant Field Values
Constructor Detail

WebLogicCometSupport

public WebLogicCometSupport(AtmosphereServlet.AtmosphereConfig config)
Method Detail

getContainerName

public String getContainerName()
Return the name of the Java Web Server.

Specified by:
getContainerName in interface CometSupport<AtmosphereEventImpl>
Returns:
the name of the Java Web Server.

getContainerDottedVersion

public String getContainerDottedVersion()
Return the supported version of the Java Web Server

Specified by:
getContainerDottedVersion in interface CometSupport<AtmosphereEventImpl>
Returns:
the supported version of the Java Web Server

service

public AtmosphereServlet.Action service(HttpServletRequest req,
                                        HttpServletResponse res)
                                 throws IOException,
                                        ServletException
Serve the HttpServletRequest and the HttpServletResponse.

Specified by:
service in interface CometSupport<AtmosphereEventImpl>
Parameters:
req - the HttpServletRequest
res - the HttpServletResponse
Returns:
the AtmosphereServlet.Action that was manipulated by the AtmosphereHandler
Throws:
IOException
ServletException

action

public void action(AtmosphereEventImpl actionEvent)
Process an AtmosphereServlet.Action from an ActionEvent operation like suspend, resume or timed out.

Specified by:
action in interface CometSupport<AtmosphereEventImpl>


Copyright © 2009 SUN Microsystems. All Rights Reserved.