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

java.lang.Object
  extended by org.ow2.petals.component.framework.listener.AbstractListener
      extended by org.ow2.petals.component.framework.listener.AbstractExternalListener
          extended by org.ow2.petals.binding.soap.listener.incoming.SoapExternalListener

public class SoapExternalListener
extends org.ow2.petals.component.framework.listener.AbstractExternalListener

The SOAP external listener. TODO : To be refactored with PetalsReceiver

Author:
Christophe HAMERLING - eBM WebSourcing

Field Summary
 
Fields inherited from class org.ow2.petals.component.framework.listener.AbstractListener
component, factory, messageInterceptorProcessor
 
Constructor Summary
SoapExternalListener()
           
 
Method Summary
 void init()
           
 void start()
          As there is a single SOAP listener for all incoming soap requests, this method only references the given address.
 void stop()
          unreference the given address.
 
Methods inherited from class org.ow2.petals.component.framework.listener.AbstractExternalListener
createConsumeExchange
 
Methods inherited from class org.ow2.petals.component.framework.listener.AbstractListener
createConsumeExchange, createConsumeExchange, createExchange, getComponent, getComponentContext, getConsumes, getCurrentTransaction, getExtensions, getInstallRoot, getLogger, getMessageInterceptorProcessor, getProvides, init, retrievePattern, send, sendAsync, sendSync, sendSync, setConsumes, setCurrentTransaction, setExtensions, setProvides
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoapExternalListener

public SoapExternalListener()
Method Detail

init

public void init()
Overrides:
init in class org.ow2.petals.component.framework.listener.AbstractListener

start

public void start()
As there is a single SOAP listener for all incoming soap requests, this method only references the given address. External calls for non registered addresses will be ignored.

Specified by:
start in class org.ow2.petals.component.framework.listener.AbstractExternalListener

stop

public void stop()
unreference the given address. After address removal, it will be impossible to contact service from outside.

Specified by:
stop in class org.ow2.petals.component.framework.listener.AbstractExternalListener


Copyright © 2005-2010 OW2 Consortium. All Rights Reserved.