|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.xbus.application.ApplicationFactory
public class ApplicationFactory
The class ApplicationFactory is used to dynamically create an
application object and calls a method of this application object, which
processes the incoming Message.
It implements the Factory Design-Pattern.
Configuration:
| Chapter | Section | Key | Content |
|---|---|---|---|
| ApplicationFactory | call.getSource().call.getFunction() | Class | Name of the class that should be created. |
| ApplicationFactory | call.getSource().call.getFunction() | Method | Name of the method that should process the call. |
| Constructor Summary | |
|---|---|
ApplicationFactory()
|
|
| Method Summary | |
|---|---|
static void |
callApplication(Message call)
Creates an application object and calls a method of this application object, which processes the incoming Message object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ApplicationFactory()
| Method Detail |
|---|
public static void callApplication(Message call)
throws XException
Message object.
call - the incoming message
XException - in case of problems in accessing the configuration, in
routing, in object instatiation or message processing
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||