|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectSnacCmdFactoryList
CmdFactoryMgr
Provides a central means of producing SnacCommands from
SnacPackets by merging a "default factory list" with the
factories registered by the user of SNAC processor in a logical manner.
This class effectively handles several different "levels" of SNAC factories,
digging deeper and deeper until an appropriate factory for a given command
type is found. When attempting to find a SNAC command factory for a given
command type, the following takes place:
CmdType.CMDTYPE_ALL), that factory
is returned CmdType.CMDTYPE_ALL), that factory is returned setDefaultFactoryList ClientSnacProcessor.
| Method Summary | |
SnacCmdFactoryList |
getDefaultFactoryList()
Returns this command factory manager's the default SNAC command factory list. |
void |
setDefaultFactoryList(SnacCmdFactoryList list)
Sets the default factory list for this factory manager. |
| Methods inherited from class SnacCmdFactoryList |
getFactory, register, registerAll, unregister, unregisterAll, unregisterAll |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public final void setDefaultFactoryList(SnacCmdFactoryList list)
list - the new default factory listpublic final SnacCmdFactoryList getDefaultFactoryList()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||