com.sun.enterprise.v3.common
Class JsonActionReporter
java.lang.Object
org.glassfish.api.ActionReport
com.sun.enterprise.v3.common.ActionReporter
com.sun.enterprise.v3.common.JsonActionReporter
@Service(name="json")
@Scoped(value=org.jvnet.hk2.component.PerLookup.class)
public class JsonActionReporter
- extends ActionReporter
Writes command output to a json stream
- Author:
- Ludovic Champenois
| Methods inherited from class com.sun.enterprise.v3.common.ActionReporter |
addSubActionsReport, appendMessage, getActionDescription, getActionExitCode, getCombinedMessages, getContentType, getFailureCause, getMessage, getSubActionsReport, getTopMessagePart, hasFailures, hasSuccesses, hasWarnings, isFailure, isSuccess, isWarning, setActionDescription, setActionExitCode, setContentType, setFailure, setFailureCause, setMessage, setMessage, setSuccess, setWarning |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JsonActionReporter
public JsonActionReporter()
- Creates a new instance of JsonActionReporter
writeReport
public void writeReport(OutputStream os)
throws IOException
- Specified by:
writeReport in class ActionReport
- Throws:
IOException
Copyright © 2012. All Rights Reserved.