org.nuiton.topia.service.servers
Class SOAPServer

java.lang.Object
  extended by org.nuiton.topia.service.TopiaServiceServerAbstract
      extended by org.nuiton.topia.service.servers.SOAPServer
All Implemented Interfaces:
org.codehaus.xfire.service.invoker.Invoker, TopiaServiceServer

public class SOAPServer
extends TopiaServiceServerAbstract
implements org.codehaus.xfire.service.invoker.Invoker

SOAPServer.java

Version:
$Revision: 1715 $ Last update : $Date: 2009-12-15 01:26:16 +0100 (mar., 15 déc. 2009) $ By : $Author: tchemit $
Author:
chatellier

Field Summary
protected  boolean alreadyLaunched
          Server already launched
protected static int DEFAULT_PORT
          Port du serveur web
protected  int port
          Current used port
 
Constructor Summary
SOAPServer()
          Constructeur.
SOAPServer(int port)
          Constructeur.
 
Method Summary
 void addService(Class<? extends TopiaApplicationService> clazz)
          Ajoute un service devant etre gere.
 Object invoke(Method method, Object[] args, org.codehaus.xfire.MessageContext ctx)
           
 void launch()
          Lance le serveur
 
Methods inherited from class org.nuiton.topia.service.TopiaServiceServerAbstract
invoke, setTopiaServiceProvider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_PORT

protected static final int DEFAULT_PORT
Port du serveur web

See Also:
Constant Field Values

alreadyLaunched

protected boolean alreadyLaunched
Server already launched


port

protected int port
Current used port

Constructor Detail

SOAPServer

public SOAPServer()
Constructeur.


SOAPServer

public SOAPServer(int port)
Constructeur.

Method Detail

addService

public void addService(Class<? extends TopiaApplicationService> clazz)
Description copied from interface: TopiaServiceServer
Ajoute un service devant etre gere.

Specified by:
addService in interface TopiaServiceServer
Parameters:
clazz - le nom de l'interface.

launch

public void launch()
Description copied from interface: TopiaServiceServer
Lance le serveur

Specified by:
launch in interface TopiaServiceServer

invoke

public Object invoke(Method method,
                     Object[] args,
                     org.codehaus.xfire.MessageContext ctx)
              throws org.codehaus.xfire.fault.XFireFault
Specified by:
invoke in interface org.codehaus.xfire.service.invoker.Invoker
Throws:
org.codehaus.xfire.fault.XFireFault


Copyright © 2004-2010 CodeLutin. All Rights Reserved.