|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.clientserver.HandlerRegistry
public class HandlerRegistry
This is a singleton class that will be used to register and cache all channel handlers
Field Summary | |
---|---|
(package private) Hashtable |
channelHandlers
Create the hash tables to cache the channel sessions * |
(package private) static HandlerRegistry |
handlerRegistry
the handler registry to be used by the singleton patter * |
protected static java.lang.Object |
lockObject
Static object used for synchronizing the access to the "instance" attribute in the getUniqueHTMLInstance method. |
Constructor Summary | |
---|---|
HandlerRegistry()
|
Method Summary | |
---|---|
ChannelHandler |
getChannelHandler(java.lang.String key)
Returns the value of the ChannelHandler from the channelHandlers property for a given key |
static HandlerRegistry |
getInstance()
Returns the value of the handlerRegistry property. |
static void |
resetInstance()
Set the value of the handlerRegistry property to null. |
void |
setChannelHandler(java.lang.String key,
java.lang.Object value)
Adds a ChannelHandler class to the channelHandlers property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static HandlerRegistry handlerRegistry
final Hashtable channelHandlers
protected static final java.lang.Object lockObject
Constructor Detail |
---|
public HandlerRegistry()
Method Detail |
---|
public ChannelHandler getChannelHandler(java.lang.String key)
public static HandlerRegistry getInstance()
public static void resetInstance()
public void setChannelHandler(java.lang.String key, java.lang.Object value)
key
- java.lang.Stringvalue
- java.lang.Object
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |