org.opengts.extra.war.service
Class ServiceHandler

java.lang.Object
  extended by javax.management.NotificationBroadcasterSupport
      extended by org.opengts.extra.war.service.ServiceHandler
All Implemented Interfaces:
javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, ServiceHandlerMXBean

public class ServiceHandler
extends javax.management.NotificationBroadcasterSupport
implements ServiceHandlerMXBean


Constructor Summary
ServiceHandler()
           
 
Method Summary
 java.lang.String getVersion()
          Return the current GTS version
 java.lang.String handleRequest(java.lang.String xmlReqStr)
          Process the specified XML request and return a response
 java.lang.String handleRequest(java.lang.String xmlReqStr, java.lang.String authAcctID, java.lang.String authUserID, java.lang.String authPasswd)
          Process the specified XML request and return a response
static void main(java.lang.String[] argv)
           
 
Methods inherited from class javax.management.NotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceHandler

public ServiceHandler()
Method Detail

getVersion

public java.lang.String getVersion()
Description copied from interface: ServiceHandlerMXBean
Return the current GTS version

Specified by:
getVersion in interface ServiceHandlerMXBean

handleRequest

public java.lang.String handleRequest(java.lang.String xmlReqStr)
Description copied from interface: ServiceHandlerMXBean
Process the specified XML request and return a response

Specified by:
handleRequest in interface ServiceHandlerMXBean

handleRequest

public java.lang.String handleRequest(java.lang.String xmlReqStr,
                                      java.lang.String authAcctID,
                                      java.lang.String authUserID,
                                      java.lang.String authPasswd)
Description copied from interface: ServiceHandlerMXBean
Process the specified XML request and return a response

Specified by:
handleRequest in interface ServiceHandlerMXBean

main

public static void main(java.lang.String[] argv)