org.jgroups.conf
Class ClassMap

java.lang.Object
  extended byorg.jgroups.conf.ClassMap

public class ClassMap
extends java.lang.Object

Maintains mapping between magic number and class

Version:
1.0
Author:
Filip Hanik (filip@filip.net)

Constructor Summary
ClassMap(java.lang.String clazz, java.lang.String desc, boolean preload, int magicnumber)
           
 
Method Summary
 boolean equals(java.lang.Object another)
           
 java.lang.Class getClassForMap()
          Returns the Class object for this class
 java.lang.String getClassName()
           
 java.lang.String getDescription()
           
 int getMagicNumber()
           
 boolean getPreload()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassMap

public ClassMap(java.lang.String clazz,
                java.lang.String desc,
                boolean preload,
                int magicnumber)
Method Detail

hashCode

public int hashCode()

getClassName

public java.lang.String getClassName()

getDescription

public java.lang.String getDescription()

getPreload

public boolean getPreload()

getMagicNumber

public int getMagicNumber()

getClassForMap

public java.lang.Class getClassForMap()
                               throws java.lang.ClassNotFoundException
Returns the Class object for this class

Throws:
java.lang.ClassNotFoundException

equals

public boolean equals(java.lang.Object another)


Copyright ? 2001,2002 www.jgroups.com . All Rights Reserved.