wt.method
Class MethodResultWriter

java.lang.Object
  extended bywt.method.MethodResultWriter
All Implemented Interfaces:
MethodResultWriterIfc

class MethodResultWriter
extends Object
implements MethodResultWriterIfc

Class that performs server-side writing of MethodResult objects. It is responsible for unregistering the MethodContext object for this call after the reply has been marshaled.


Field Summary
private static PrintWriter ACCESS_LOG
           
private static boolean ACCESS_LOG_APPEND
           
private static boolean ACCESS_LOG_ENABLED
           
private static String ACCESS_LOG_FILE
           
private static int METHOD_SUMMARY_INTERVAL
           
private static boolean PRINT_CHECKED_EXCEPTIONS
           
private static String RESOURCE
           
private static boolean SERVER_METHOD_TIMING
           
private static boolean STOP_ON_VM_ERROR
           
private static MethodSummary SUMMARY
           
private static boolean TIMING
           
private static boolean TRACE_TIMING
           
private static boolean VERBOSE_SERVER
           
static String versionID
           
 
Constructor Summary
(package private) MethodResultWriter()
           
 
Method Summary
private  void printException(Throwable t, MethodArgs args)
           
 void writeExternal(MethodResult method_result, ObjectOutput output_stream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

SERVER_METHOD_TIMING

private static final boolean SERVER_METHOD_TIMING

VERBOSE_SERVER

private static final boolean VERBOSE_SERVER

PRINT_CHECKED_EXCEPTIONS

private static final boolean PRINT_CHECKED_EXCEPTIONS

STOP_ON_VM_ERROR

private static final boolean STOP_ON_VM_ERROR

METHOD_SUMMARY_INTERVAL

private static final int METHOD_SUMMARY_INTERVAL

ACCESS_LOG_ENABLED

private static final boolean ACCESS_LOG_ENABLED

ACCESS_LOG_FILE

private static final String ACCESS_LOG_FILE

ACCESS_LOG_APPEND

private static final boolean ACCESS_LOG_APPEND

TIMING

private static final boolean TIMING

SUMMARY

private static final MethodSummary SUMMARY

ACCESS_LOG

private static final PrintWriter ACCESS_LOG

TRACE_TIMING

private static final boolean TRACE_TIMING

versionID

public static final String versionID
See Also:
Constant Field Values
Constructor Detail

MethodResultWriter

MethodResultWriter()
Method Detail

writeExternal

public void writeExternal(MethodResult method_result,
                          ObjectOutput output_stream)
                   throws IOException
Specified by:
writeExternal in interface MethodResultWriterIfc
Throws:
IOException

printException

private void printException(Throwable t,
                            MethodArgs args)