net.m2technologies.open_arm.transport.formatters
Class DefaultStopMessageFormatterImpl

java.lang.Object
  extended bynet.m2technologies.open_arm.transport.formatters.AbstractMessageFormatterImpl
      extended bynet.m2technologies.open_arm.transport.formatters.DefaultStopMessageFormatterImpl
All Implemented Interfaces:
StopMessageFormatter

public class DefaultStopMessageFormatterImpl
extends AbstractMessageFormatterImpl
implements StopMessageFormatter

Copyright 2005 Mark Masterson

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Description: This class handles the internationalization and formatting of the text message used for #stop events of the ArmTransaction interface.

Version:
0.009
Author:
Mark Masterson

Field Summary
 
Fields inherited from class net.m2technologies.open_arm.transport.formatters.AbstractMessageFormatterImpl
BLANK_SPACE, resources
 
Constructor Summary
DefaultStopMessageFormatterImpl()
           
 
Method Summary
 java.lang.String getStopMessage(long elapsedTime, long totalElapsedTime, int status, java.lang.String diagnosticDetail, java.lang.String transactionID, java.lang.String transactionName, java.lang.String applicationName, java.lang.String parentCorrelator, Logger logger, ArmTransaction delegate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultStopMessageFormatterImpl

public DefaultStopMessageFormatterImpl()
Method Detail

getStopMessage

public final java.lang.String getStopMessage(long elapsedTime,
                                             long totalElapsedTime,
                                             int status,
                                             java.lang.String diagnosticDetail,
                                             java.lang.String transactionID,
                                             java.lang.String transactionName,
                                             java.lang.String applicationName,
                                             java.lang.String parentCorrelator,
                                             Logger logger,
                                             ArmTransaction delegate)
Specified by:
getStopMessage in interface StopMessageFormatter