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 java.lang.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  java.util.Set<java.lang.String> addresses
           
protected  org.ow2.petals.component.framework.su.AbstractServiceUnitManager bindingSUM
           
protected  org.ow2.petals.component.framework.AbstractComponent component
           
protected  AxisServletServer httpServer
           
protected  java.util.logging.Logger logger
           
protected  PetalsReceiver petalsReceiver
           
protected  SoapServerConfig serverConfig
           
protected  SoapComponentContext soapContext
           
 
Constructor Summary
SoapExternalListenerManager(org.ow2.petals.component.framework.AbstractComponent component, org.ow2.petals.component.framework.su.AbstractServiceUnitManager bindingSUM, SoapComponentContext soapContext, PetalsReceiver petalsReceiver, java.util.logging.Logger logger)
          Creates a new instance of SoapExternalListenerManager
 
Method Summary
 java.util.Set<java.lang.String> getAddresses()
           
 AxisServletServer getHttpServer()
           
 SoapServerConfig getSoapServerConfig()
          Get the URL where services can be accessed
 void start(org.apache.axis2.engine.AxisConfiguration axisConfiguration)
          Starts the listener manager : Start the embedded HTTP server and initialize the dispatcher.
 void stop()
          Stops the listener manager : Stop the embedded HTTP 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 java.util.logging.Logger logger

addresses

protected java.util.Set<java.lang.String> addresses

component

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

bindingSUM

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

httpServer

protected AxisServletServer 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,
                                   org.ow2.petals.component.framework.su.AbstractServiceUnitManager bindingSUM,
                                   SoapComponentContext soapContext,
                                   PetalsReceiver petalsReceiver,
                                   java.util.logging.Logger logger)
                            throws javax.jbi.JBIException
Creates a new instance of SoapExternalListenerManager

Parameters:
ccontext -
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 java.util.Set<java.lang.String> getAddresses()

getSoapServerConfig

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

Returns:

start

public void start(org.apache.axis2.engine.AxisConfiguration axisConfiguration)
           throws org.apache.axis2.AxisFault,
                  java.util.MissingResourceException,
                  javax.jbi.JBIException
Starts the listener manager : Start the embedded HTTP server and initialize the dispatcher.

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

stop

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

Throws:
org.apache.axis2.AxisFault

getHttpServer

public AxisServletServer getHttpServer()


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