|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectelectric.webserver.messages.MessageFactories
MessageFactories maintains a list of the currently registered MessageFactories. New factories must be added early in the startup process, since changes will not be picked up at run-time without a restart. Factories are scanned in order of registration.
WebServer
Constructor Summary | |
MessageFactories()
|
Method Summary | |
static void |
addFactory(IMessageFactory factory)
Register a new message factory. |
static IMessageFactory |
getFactory(java.lang.String protocol)
Retrieve a message factory based on a particular protocol. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MessageFactories()
Method Detail |
public static void addFactory(IMessageFactory factory)
factory
- public static IMessageFactory getFactory(java.lang.String protocol)
protocol
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |