|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.voytechs.util.TestModule
public class TestModule
This is a testing module. The purpose of this class is to test the ModuleLoader. This is a dummy test module that just loads and prints out its initialization state. Its included for internal testing.
| Field Summary |
|---|
| Fields inherited from interface com.voytechs.util.Module |
|---|
INITIALIZED, MODULE_LOAD_FROM_FILESYSTEM, MODULE_LOAD_FROM_NETWORK, NOT_INITIALIZED |
| Constructor Summary | |
|---|---|
TestModule()
|
|
| Method Summary | |
|---|---|
void |
initOnLoad(java.lang.Object userData)
Initialization routine for the module. |
void |
initPostLoad(java.lang.Object userData)
Initialization routine for the module. |
boolean |
isInitialized()
Returns if this module has already went through its initialization process. |
static void |
main(java.lang.String[] args)
Test function for TestModule |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TestModule()
-
| Method Detail |
|---|
public void initOnLoad(java.lang.Object userData)
Module
initOnLoad in interface Modulepublic void initPostLoad(java.lang.Object userData)
Module
initPostLoad in interface ModuleuserData - An object that can be used to help initialize the module.public boolean isInitialized()
Module
isInitialized in interface Modulepublic static void main(java.lang.String[] args)
args - command line arguments
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||