Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.miamm.soapmmil.agents
Class BrokenMIAMMService  view BrokenMIAMMService download BrokenMIAMMService.java

java.lang.Object
  extended byorg.miamm.soapmmil.MIAMMService
      extended byorg.miamm.soapmmil.agents.NullMIAMMService
          extended byorg.miamm.soapmmil.agents.BrokenMIAMMService
All Implemented Interfaces:
org.miamm.soapmmil.SoapMMILConstants

public class BrokenMIAMMService
extends NullMIAMMService

A MIAMMService whose job is to throw an Exception whenever recogniseEvent is called. BrokenMIAMMService also keeps track of whether or not its exception handler has been called

Version:
$Revision: 1.1 $
$Date: 2003/05/04 20:45:50 $

Nested Class Summary
 
Nested classes inherited from class org.miamm.soapmmil.MIAMMService
 
Field Summary
(package private)  org.miamm.soapmmil.MIAMMException _exception
           
(package private)  boolean _hasHandledException
           
(package private)  org.apache.log4j.Logger _logger
           
 
Fields inherited from class org.miamm.soapmmil.agents.NullMIAMMService
_hasReceived, _hasRestarted, _hasStarted, _hasStopped, _msgRecognisedCount
 
Fields inherited from class org.miamm.soapmmil.MIAMMService
 
Fields inherited from interface org.miamm.soapmmil.SoapMMILConstants
ELEMENT_MISOH_BLOCK, LOG4J_PROPERTY, misohDescriptor, NAMESPACE_PREFIX_MIAMM, NAMESPACE_URI_MIAMM, PROPERTY_MIAMM_SMART_RECEIVER, PROPERTY_MIAMM_URLFILE
 
Constructor Summary
BrokenMIAMMService()
           
 
Method Summary
 void handleException(java.lang.Exception e)
           
 boolean hasHandledException()
           
 void recogniseEvent(org.miamm.soapmmil.SoapmmilMessage message)
          Do the main work of this service.
 
Methods inherited from class org.miamm.soapmmil.agents.NullMIAMMService
getMsgRecognisedCount, hasRestarted, hasStarted, hasStopped, reset, restart, start, stop
 
Methods inherited from class org.miamm.soapmmil.MIAMMService
getDebuggingId, getDumbOutgoingURL, getServiceName, getServiceTable, getSmartOutgoingURL, receiveMessage, recogniseEvent, soapmmil
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_hasHandledException

boolean _hasHandledException

_exception

org.miamm.soapmmil.MIAMMException _exception

_logger

org.apache.log4j.Logger _logger
Constructor Detail

BrokenMIAMMService

public BrokenMIAMMService()
                   throws org.miamm.soapmmil.MIAMMException
Method Detail

recogniseEvent

public void recogniseEvent(org.miamm.soapmmil.SoapmmilMessage message)
                    throws org.miamm.soapmmil.MIAMMException
Description copied from class: org.miamm.soapmmil.MIAMMService
Do the main work of this service. This function is only called when the SoapMMIL detects an incoming message of a type that we explicitly allow.

Overrides:
recogniseEvent in class NullMIAMMService

handleException

public void handleException(java.lang.Exception e)

hasHandledException

public boolean hasHandledException()