|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--Testing.ServerFactory
Use of the pattern Abstract Factory to build the server which matchs with required parameters
| Field Summary | |
protected MtgServer.Server |
server
The server to be build |
| Constructor Summary | |
ServerFactory()
|
|
| Method Summary | |
MtgServer.Server |
getServer(Testing.DummyInterface inter)
Get the builded serve. this method should be called after calling every others to get a full configured server |
abstract void |
makeAvailablemeetings()
Set the set of available meetings to the server to be build. |
abstract void |
makeLanguages()
Initialize the ServerMessage singleton with available languages. |
abstract void |
makeTranslator()
Builds or not the translator for the server. |
void |
ServerFactory()
Initialize the server factory and the common features of the server. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected MtgServer.Server server
| Constructor Detail |
public ServerFactory()
| Method Detail |
public MtgServer.Server getServer(Testing.DummyInterface inter)
public abstract void makeAvailablemeetings()
public abstract void makeTranslator()
public abstract void makeLanguages()
public void ServerFactory()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||