com.philemonworks.selfdiagnose.check.vendor
Class SelfDiagnoseResource

java.lang.Object
  extended by com.philemonworks.selfdiagnose.check.vendor.SelfDiagnoseResource
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

@Service(value="SelfDiagnoseResource")
public class SelfDiagnoseResource
extends Object
implements org.springframework.context.ApplicationContextAware

SelfDiagnoseResource provides a REST interface to the SelfDiagnose tool.

Author:
ernestmicklei

Constructor Summary
SelfDiagnoseResource()
           
 
Method Summary
 javax.ws.rs.core.Response reportXMLResults()
           
 javax.ws.rs.core.Response runAndReportResults(String format, String formatOverride)
           
 javax.ws.rs.core.Response runSubmittedTasks(String format, InputStream input)
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelfDiagnoseResource

public SelfDiagnoseResource()
Method Detail

runAndReportResults

public javax.ws.rs.core.Response runAndReportResults(String format,
                                                     String formatOverride)

reportXMLResults

public javax.ws.rs.core.Response reportXMLResults()

runSubmittedTasks

public javax.ws.rs.core.Response runSubmittedTasks(String format,
                                                   InputStream input)

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
                           throws org.springframework.beans.BeansException
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
Throws:
org.springframework.beans.BeansException


Copyright © 2012. All Rights Reserved.