org.ow2.petals.binding.soap.listener.incoming
Class SoapExternalListenerManager

java.lang.Object
  extended by org.ow2.petals.binding.soap.listener.incoming.SoapExternalListenerManager

public class SoapExternalListenerManager
extends Object

This class is used to manage listeners for external WS addresses registered during SU deployments

Since:
Petals 1.1
Version:
$Rev$
Author:
alouis - EBM Websourcing, chamerling - EBM Websourcing

Field Summary
protected  Set<String> addresses
           
protected  org.ow2.petals.component.framework.su.AbstractServiceUnitManager bindingSUM
           
protected  javax.jbi.messaging.DeliveryChannel channel
           
protected  org.ow2.petals.component.framework.AbstractComponent component
           
protected  SoapServer httpServer
           
protected  Logger logger
           
protected  PetalsReceiver petalsReceiver
           
protected  SoapServerConfig serverConfig
           
protected  SoapComponentContext soapContext
           
 
Constructor Summary
SoapExternalListenerManager(org.ow2.petals.component.framework.AbstractComponent component, javax.jbi.messaging.DeliveryChannel dchannel, org.ow2.petals.component.framework.su.AbstractServiceUnitManager bindingSUM, SoapComponentContext soapContext, PetalsReceiver petalsReceiver, Logger logger)
          Creates a new instance of SoapExternalListenerManager
 
Method Summary
 Set<String> getAddresses()
           
 SoapServer getHttpServer()
           
 SoapServerConfig getSoapServerConfig()
          Get the URL where services can be accessed
 void init(org.apache.axis2.engine.AxisConfiguration axisConfiguration)
          Initializes the listener manager : Initializes the embedded HTTP server the dispatcher.
 void shutdown()
          Shutdown the listener manager : Shutdown the embedded HTTP(S)/SOAP server that handles incoming requests.
 void start()
          Starts the listener manager : Start the embedded HTTP server.
 void stop()
          Stops the listener manager : Stop the embedded HTTP(S)/SOAP server that handles incoming requests.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected Logger logger

addresses

protected Set<String> addresses

channel

protected javax.jbi.messaging.DeliveryChannel channel

component

protected org.ow2.petals.component.framework.AbstractComponent component

bindingSUM

protected org.ow2.petals.component.framework.su.AbstractServiceUnitManager bindingSUM

httpServer

protected SoapServer httpServer

serverConfig

protected SoapServerConfig serverConfig

soapContext

protected SoapComponentContext soapContext

petalsReceiver

protected PetalsReceiver petalsReceiver
Constructor Detail

SoapExternalListenerManager

public SoapExternalListenerManager(org.ow2.petals.component.framework.AbstractComponent component,
                                   javax.jbi.messaging.DeliveryChannel dchannel,
                                   org.ow2.petals.component.framework.su.AbstractServiceUnitManager bindingSUM,
                                   SoapComponentContext soapContext,
                                   PetalsReceiver petalsReceiver,
                                   Logger logger)
                            throws javax.jbi.JBIException
Creates a new instance of SoapExternalListenerManager

Parameters:
ccontext -
dchannel -
bindingSUM -
soapContext -
propertiesManager -
logger -
Throws:
javax.jbi.JBIException - if the specified host in the component extension is not a valid address
Method Detail

getAddresses

public Set<String> getAddresses()

getSoapServerConfig

public SoapServerConfig getSoapServerConfig()
Get the URL where services can be accessed

Returns:

init

public void init(org.apache.axis2.engine.AxisConfiguration axisConfiguration)
          throws org.apache.axis2.AxisFault,
                 MissingResourceException,
                 javax.jbi.JBIException
Initializes the listener manager : Initializes the embedded HTTP server the dispatcher.

Parameters:
axisConfiguration -
Throws:
org.apache.axis2.AxisFault
javax.jbi.JBIException
MissingResourceException

start

public void start()
           throws org.apache.axis2.AxisFault,
                  MissingResourceException,
                  javax.jbi.JBIException
Starts the listener manager : Start the embedded HTTP server.

Throws:
org.apache.axis2.AxisFault
javax.jbi.JBIException
MissingResourceException

stop

public void stop()
          throws org.apache.axis2.AxisFault
Stops the listener manager : Stop the embedded HTTP(S)/SOAP server that handles incoming requests.

Throws:
org.apache.axis2.AxisFault

shutdown

public void shutdown()
              throws org.apache.axis2.AxisFault
Shutdown the listener manager : Shutdown the embedded HTTP(S)/SOAP server that handles incoming requests.

Throws:
org.apache.axis2.AxisFault

getHttpServer

public SoapServer getHttpServer()


Copyright © 2005-2012 Petals Link (EBM Websourcing). All Rights Reserved.