org.nuiton.topia.service.clients
Class XMLRPCProxy

java.lang.Object
  extended by org.nuiton.topia.service.clients.XMLRPCProxy
All Implemented Interfaces:
InvocationHandler, TopiaApplicationService, TopiaProxy

public class XMLRPCProxy
extends Object
implements TopiaProxy

XMLRPCProxy.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  Class<? extends TopiaApplicationService> clazz
          La classe geree par le proxy
protected  String serviceLocation
          location du service
 
Fields inherited from interface org.nuiton.topia.service.TopiaApplicationService
log
 
Constructor Summary
XMLRPCProxy()
           
 
Method Summary
 void destroy()
          Detruit le service
 void init(TopiaContext context)
          Initialise le service
 Object invoke(Object proxy, Method method, Object[] args)
           
 void setClass(Class<? extends TopiaApplicationService> clazz)
          Renseigne la classe geree
 void setURI(URI uri)
          Rensigne l'URI du service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serviceLocation

protected String serviceLocation
location du service


clazz

protected Class<? extends TopiaApplicationService> clazz
La classe geree par le proxy

Constructor Detail

XMLRPCProxy

public XMLRPCProxy()
Method Detail

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
Specified by:
invoke in interface InvocationHandler
Throws:
Throwable

setURI

public void setURI(URI uri)
Description copied from interface: TopiaProxy
Rensigne l'URI du service

Specified by:
setURI in interface TopiaProxy
Parameters:
uri - l'URI
See Also:
URI

setClass

public void setClass(Class<? extends TopiaApplicationService> clazz)
Description copied from interface: TopiaProxy
Renseigne la classe geree

Specified by:
setClass in interface TopiaProxy
Parameters:
clazz - la class

destroy

public void destroy()
Description copied from interface: TopiaApplicationService
Detruit le service

Specified by:
destroy in interface TopiaApplicationService

init

public void init(TopiaContext context)
Description copied from interface: TopiaApplicationService
Initialise le service

Specified by:
init in interface TopiaApplicationService


Copyright © 2004-2010 CodeLutin. All Rights Reserved.