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

Quick Search    Search Deep

org.miamm.soapmmil
Class MIAMMServiceTable  view MIAMMServiceTable download MIAMMServiceTable.java

java.lang.Object
  extended byjava.util.Dictionary
      extended byjava.util.Hashtable
          extended byorg.miamm.soapmmil.MIAMMServiceTable
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable, SoapMMILConstants

public class MIAMMServiceTable
extends java.util.Hashtable
implements SoapMMILConstants

A map of misoh MsgContentType (AS STRINGS) to the URL that corresponds. This is only for agents on other servers. It was an ugly hack that was meant to be a temporary measure, but somehow never managed to get rid of it. It reads from a file (normally called launcher.properties) if it exists. If it does not exist, then we are only running on one machine. FIXME: for now getKeys returns a Set of String instead of a set of MsgContentType FIXME: this whole thing was a mistake... what the heck was i thinking?

Version:
$Revision: 1.8 $
$Date: 2003/05/04 21:00:42 $

Nested Class Summary
 
Nested classes inherited from class java.util.Hashtable
 
Nested classes inherited from class java.util.Map
java.util.Map.Entry
 
Field Summary
(package private) static org.apache.log4j.Logger logger
           
 
Fields inherited from class java.util.Hashtable
 
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
MIAMMServiceTable()
           
 
Method Summary
 boolean containsKey(org.miamm.castor.headerblock.types.MsgContentType key)
           
 java.lang.Object get(org.miamm.castor.headerblock.types.MsgContentType key)
           
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

logger

static org.apache.log4j.Logger logger
Constructor Detail

MIAMMServiceTable

public MIAMMServiceTable()
                  throws MIAMMException,
                         java.io.IOException,
                         java.io.FileNotFoundException,
                         java.net.MalformedURLException
Method Detail

containsKey

public boolean containsKey(org.miamm.castor.headerblock.types.MsgContentType key)

get

public java.lang.Object get(org.miamm.castor.headerblock.types.MsgContentType key)