|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.umk.mat.merdacz.JGServer.config.CfgBox
Boxing class for cfg which must be passed to CfgLoader. We need to box beacuse CfgLoader fills the passed cfg
Field Summary | |
(package private) ServerCfg |
cfg
|
Constructor Summary | |
CfgBox()
The default constructor implies using setCfg before processing configuration file. |
|
CfgBox(ServerCfg cfg)
Constructs boxing class and automaticly embeds given ServerCfg with it. |
Method Summary | |
ServerCfg |
getCfg()
|
void |
setCfg(ServerCfg cfg)
This method may be usefull when Server needs to be reloaded (in example when new plugin has been deployed) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
ServerCfg cfg
Constructor Detail |
public CfgBox()
public CfgBox(ServerCfg cfg)
ServerCfg
with it.
cfg
- configuration object to be embededMethod Detail |
public ServerCfg getCfg()
public void setCfg(ServerCfg cfg)
cfg
- configuation object to be emebeded
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |