Package com.iizix.server
Class ServerShellHolder
java.lang.Object
com.iizix.server.ServerShellHolder
The static holder of the ServerShell instance that the server calls to initiate the value with at start-up time. This enables any Java class to get the reference to e.g. server properties without having the ServerShell instance reference.
- Author:
- Christopher Mindus
- Constructor SummaryConstructors
- Method SummaryModifier and TypeMethodDescription- static ServerShellGets the ServerShell instance.- static voidSets the ServerShell instance.
- Constructor Details- ServerShellHolderpublic ServerShellHolder()
 
- Method Details- setInstanceSets the ServerShell instance.
- getInstanceGets the ServerShell instance.- Returns:
- The ServerShell instance or null if not yet initialized.