public static CommandProcessor getInstance ( ) { if ( null == instance ) { synchronized ( CommandProcessor . class ) { if ( null == instance ) { instance = new CommandProcessor ( ) ; } } } return instance ; }
Gets the single instance of CommandProcessor .