net.sf.crispy.impl.xmlrpc
Class XmlRpcAdminServiceImpl

java.lang.Object
  extended bynet.sf.crispy.impl.xmlrpc.XmlRpcAdminServiceImpl
All Implemented Interfaces:
XmlRpcAdminService

public class XmlRpcAdminServiceImpl
extends java.lang.Object
implements XmlRpcAdminService

Implementation of service interface, to add, remove or to ask to register services.

Author:
Linke

Field Summary
protected static org.apache.commons.logging.Log log
           
 
Constructor Summary
XmlRpcAdminServiceImpl(org.apache.xmlrpc.XmlRpcServer pvXmlRpcServer, java.util.Map pvServicesMap, java.lang.String pvNullValue)
           
 
Method Summary
 java.lang.String addService(java.lang.String pvServiceInterface, java.lang.Object pvServiceImpl)
           
 java.lang.String addService(java.lang.String pvServiceInterface, java.lang.String pvImplClass)
          Service registrieren.
 java.lang.Boolean existService(java.lang.String pvServiceInterface)
          Ob der Service bereits registrieren.
 java.util.List getAllService()
          Alle registrieten Service abfragen.
 java.lang.String getNullValue()
           
 org.apache.xmlrpc.XmlRpcServer getXmlRpcServer()
           
 java.lang.String removeService(java.lang.String pvServiceInterface)
          Service entfernen.
 void setNullValue(java.lang.String pvNullValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final org.apache.commons.logging.Log log
Constructor Detail

XmlRpcAdminServiceImpl

public XmlRpcAdminServiceImpl(org.apache.xmlrpc.XmlRpcServer pvXmlRpcServer,
                              java.util.Map pvServicesMap,
                              java.lang.String pvNullValue)
Parameters:
pvServicesMap - Map von Diensten, die bereits registriert sind (String ServiceInterface, String ServiceImplClass)
pvXmlRpcServer - Referenz zum XmlRpcServer, um Dienste hinzuzufuegen und zu entfernen
Method Detail

setNullValue

public final void setNullValue(java.lang.String pvNullValue)

getNullValue

public final java.lang.String getNullValue()

getXmlRpcServer

public org.apache.xmlrpc.XmlRpcServer getXmlRpcServer()

addService

public final java.lang.String addService(java.lang.String pvServiceInterface,
                                         java.lang.String pvImplClass)
Description copied from interface: XmlRpcAdminService
Service registrieren.

Specified by:
addService in interface XmlRpcAdminService
See Also:
XmlRpcAdminService.addService(java.lang.String,java.lang.String)

addService

public final java.lang.String addService(java.lang.String pvServiceInterface,
                                         java.lang.Object pvServiceImpl)

removeService

public java.lang.String removeService(java.lang.String pvServiceInterface)
Description copied from interface: XmlRpcAdminService
Service entfernen.

Specified by:
removeService in interface XmlRpcAdminService
See Also:
XmlRpcAdminService.removeService(java.lang.String)

existService

public java.lang.Boolean existService(java.lang.String pvServiceInterface)
Description copied from interface: XmlRpcAdminService
Ob der Service bereits registrieren.

Specified by:
existService in interface XmlRpcAdminService
See Also:
XmlRpcAdminService.existService(java.lang.String)

getAllService

public java.util.List getAllService()
Description copied from interface: XmlRpcAdminService
Alle registrieten Service abfragen.

Specified by:
getAllService in interface XmlRpcAdminService
See Also:
XmlRpcAdminService.getAllService()


Copyright © 2005-2006 Crispy. All Rights Reserved.