wt.ixb.publicforhandlers
Class IxbRefHandlersManager

java.lang.Object
  extended bywt.ixb.publicforhandlers.IxbRefHandlersManager

public class IxbRefHandlersManager
extends Object


Field Summary
private static Hashtable expRefHandlersInfo
           
private static String handlerName
           
private  Hashtable handlersTable
           
private static Hashtable impRefHandlersInfo
           
private static IxbRefHandlersManager refHandlersManager
           
private  Hashtable registryTable
           
private static String TAG_CLASS
           
private static String TAG_EXP_REF_HANDLER
           
private static String TAG_HANDLER
           
private static String TAG_IMP_REF_HANDLER
           
private static String TAG_REF_HANDLER
           
 
Constructor Summary
private IxbRefHandlersManager()
           
 
Method Summary
private  ExpOfObjectRefIfc _getExpRefHandler(Exporter exp, String className)
           
private  ImpOfObjectRefIfc _getImpRefHandler(Importer imp, String className)
           
private  Class getExpRefClassHandlerFromRegistry(String className)
           
static ExpOfObjectRefIfc getExpRefHandler(Exporter exp, Class cl)
           
static ExpOfObjectRefIfc getExpRefHandler(Exporter exp, Object object)
           
static ExpOfObjectRefIfc getExpRefHandler(Exporter exp, String className)
           
private  ExpOfObjectRefIfc getExpRefHandlerByClass(Exporter exp, Class cl)
           
private  Class getImpRefClassHandlerFromRegistry(String className)
           
static ImpOfObjectRefIfc getImpRefHandler(Importer imp, Class cl)
           
static ImpOfObjectRefIfc getImpRefHandler(Importer imp, String className)
           
private  ImpOfObjectRefIfc getImpRefHandlerByClass(Importer imp, Class cl)
           
 Enumeration getRefHandlers()
           
private static IxbRefHandlersManager getRefHandlersManager()
           
private static void initIxbHandlersInfo()
           
protected  void logAndThrowWTException(WTException e, String logMessage)
           
static void main(String[] args)
           
private  String makeExpKey(String s1)
           
private  String makeImpKey(String s1)
           
private static void PP(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

registryTable

private Hashtable registryTable

handlersTable

private Hashtable handlersTable

TAG_REF_HANDLER

private static String TAG_REF_HANDLER

TAG_EXP_REF_HANDLER

private static String TAG_EXP_REF_HANDLER

TAG_IMP_REF_HANDLER

private static String TAG_IMP_REF_HANDLER

TAG_HANDLER

private static String TAG_HANDLER

TAG_CLASS

private static String TAG_CLASS

impRefHandlersInfo

private static Hashtable impRefHandlersInfo

expRefHandlersInfo

private static Hashtable expRefHandlersInfo

refHandlersManager

private static IxbRefHandlersManager refHandlersManager

handlerName

private static final String handlerName
See Also:
Constant Field Values
Constructor Detail

IxbRefHandlersManager

private IxbRefHandlersManager()
Method Detail

makeImpKey

private String makeImpKey(String s1)

makeExpKey

private String makeExpKey(String s1)

initIxbHandlersInfo

private static void initIxbHandlersInfo()
                                 throws WTException
Throws:
WTException

getRefHandlersManager

private static IxbRefHandlersManager getRefHandlersManager()

getImpRefHandler

public static ImpOfObjectRefIfc getImpRefHandler(Importer imp,
                                                 Class cl)
                                          throws WTException
Throws:
WTException

getImpRefHandler

public static ImpOfObjectRefIfc getImpRefHandler(Importer imp,
                                                 String className)
                                          throws WTException
Throws:
WTException

getExpRefHandler

public static ExpOfObjectRefIfc getExpRefHandler(Exporter exp,
                                                 Object object)
                                          throws WTException
Throws:
WTException

getExpRefHandler

public static ExpOfObjectRefIfc getExpRefHandler(Exporter exp,
                                                 Class cl)
                                          throws WTException
Throws:
WTException

getExpRefHandler

public static ExpOfObjectRefIfc getExpRefHandler(Exporter exp,
                                                 String className)
                                          throws WTException
Throws:
WTException

_getExpRefHandler

private ExpOfObjectRefIfc _getExpRefHandler(Exporter exp,
                                            String className)
                                     throws WTException
Throws:
WTException

getExpRefHandlerByClass

private ExpOfObjectRefIfc getExpRefHandlerByClass(Exporter exp,
                                                  Class cl)
                                           throws WTException
Throws:
WTException

getExpRefClassHandlerFromRegistry

private Class getExpRefClassHandlerFromRegistry(String className)
                                         throws WTException
Throws:
WTException

_getImpRefHandler

private ImpOfObjectRefIfc _getImpRefHandler(Importer imp,
                                            String className)
                                     throws WTException
Throws:
WTException

getImpRefHandlerByClass

private ImpOfObjectRefIfc getImpRefHandlerByClass(Importer imp,
                                                  Class cl)
                                           throws WTException
Throws:
WTException

getImpRefClassHandlerFromRegistry

private Class getImpRefClassHandlerFromRegistry(String className)
                                         throws WTException
Throws:
WTException

PP

private static void PP(String s)

getRefHandlers

public Enumeration getRefHandlers()

main

public static void main(String[] args)
                 throws WTException
Throws:
WTException

logAndThrowWTException

protected void logAndThrowWTException(WTException e,
                                      String logMessage)
                               throws WTException
Throws:
WTException