org.ow2.jonas.ws.cxf.http
Class JOnASDestination

java.lang.Object
  extended by org.apache.cxf.transport.AbstractObservable
      extended by org.apache.cxf.transport.AbstractDestination
          extended by org.apache.cxf.transport.AbstractMultiplexDestination
              extended by org.apache.cxf.transport.http.AbstractHTTPDestination
                  extended by org.ow2.jonas.ws.cxf.http.JOnASDestination
All Implemented Interfaces:
org.apache.cxf.configuration.Configurable, org.apache.cxf.transport.Destination, org.apache.cxf.transport.MultiplexDestination, org.apache.cxf.transport.Observable, org.apache.cxf.ws.policy.Assertor

public class JOnASDestination
extends org.apache.cxf.transport.http.AbstractHTTPDestination

Object that manages the activation/deactivation of the EJB3 endpoint.

Author:
Florent Benoit

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.cxf.transport.http.AbstractHTTPDestination
org.apache.cxf.transport.http.AbstractHTTPDestination.BackChannelConduit
 
Nested classes/interfaces inherited from class org.apache.cxf.transport.AbstractDestination
org.apache.cxf.transport.AbstractDestination.AbstractBackChannelConduit
 
Field Summary
 
Fields inherited from class org.apache.cxf.transport.http.AbstractHTTPDestination
bus, conduitInitiator, contextMatchStrategy, fixedParameterOrder, HTTP_CONTEXT, HTTP_REQUEST, HTTP_RESPONSE, multiplexWithAddress, PARTIAL_RESPONSE, PROTOCOL_HEADERS_CONTENT_TYPE, server
 
Fields inherited from class org.apache.cxf.transport.AbstractDestination
endpointInfo, reference
 
Fields inherited from class org.apache.cxf.transport.AbstractObservable
incomingObserver
 
Constructor Summary
JOnASDestination(org.apache.cxf.Bus bus, org.apache.cxf.transport.ConduitInitiator initiator, org.apache.cxf.service.model.EndpointInfo endpointInfo)
          Build a new Destination.
 
Method Summary
 org.apache.cxf.Bus getBus()
           
 org.apache.cxf.service.model.EndpointInfo getEndpointInfo()
          Exposes this Destination's EndpointInfo
protected  Logger getLogger()
           
 void invoke(ServletContext context, HttpServletRequest req, HttpServletResponse resp)
          Invoke the web service (prepare message + exchange + session) Copied from CXF ServletDestination.
 
Methods inherited from class org.apache.cxf.transport.http.AbstractHTTPDestination
assertMessage, canAssert, contextMatchOnExact, copyRequestHeaders, copyResponseHeaders, flushHeaders, getAddressValue, getAddressValue, getAddressWithId, getBasePath, getBeanName, getConduitInitiator, getContextMatchStrategy, getId, getInbuiltBackChannel, getServer, isFixedParameterOrder, isMultiplexWithAddress, isOneWay, isPartialResponse, markPartialResponse, setContextMatchStrategy, setFixedParameterOrder, setHeaders, setMultiplexWithAddress, setServer, setupMessage, updateResponseHeaders
 
Methods inherited from class org.apache.cxf.transport.AbstractDestination
getAddress, getBackChannel, shutdown
 
Methods inherited from class org.apache.cxf.transport.AbstractObservable
activate, deactivate, getMessageObserver, getTargetReference, getTargetReference, setMessageObserver
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.cxf.transport.Destination
getAddress, getBackChannel, getMessageObserver, shutdown
 
Methods inherited from interface org.apache.cxf.transport.Observable
setMessageObserver
 

Constructor Detail

JOnASDestination

public JOnASDestination(org.apache.cxf.Bus bus,
                        org.apache.cxf.transport.ConduitInitiator initiator,
                        org.apache.cxf.service.model.EndpointInfo endpointInfo)
                 throws IOException
Build a new Destination.

Parameters:
bus - the associated Bus
initiator - the associated conduit initiator
endpointInfo - the endpoint info of the destination
Throws:
IOException - if super constructor fails
Method Detail

getLogger

protected Logger getLogger()
Specified by:
getLogger in class org.apache.cxf.transport.AbstractObservable
Returns:
the JDK logger used by the super class.

getBus

public org.apache.cxf.Bus getBus()
Returns:
the bus used by this Destination.

invoke

public void invoke(ServletContext context,
                   HttpServletRequest req,
                   HttpServletResponse resp)
            throws IOException
Invoke the web service (prepare message + exchange + session) Copied from CXF ServletDestination.

Parameters:
context - HTTP context
req - HTTP request
resp - HTTP response
Throws:
IOException - When the Message couldn't be prepared appropriately

getEndpointInfo

public org.apache.cxf.service.model.EndpointInfo getEndpointInfo()
Exposes this Destination's EndpointInfo

Returns:
this Destination's EndpointInfo


Copyright © 2010 OW2 Consortium. All Rights Reserved.