public AdminBuilder getAdminBuilder ( ) { if ( adminBuilder == null ) { adminBuilder = AdminBuilder . adminBuilder ( ) ; final String qbitAdminPort = findAdminPort ( ) ; if ( qbitAdminPort != null && ! qbitAdminPort . isEmpty ( ) ) { adminBuilder . setPort ( Integer . parseInt ( qbitAdminPort ) ) ; } adminBuilder . setContextBuilder ( this . getContextMetaBuilder ( ) ) ; adminBuilder . setHealthService ( getHealthService ( ) ) ; adminBuilder . registerJavaVMStatsJob ( getStatServiceBuilder ( ) . buildStatsCollector ( ) ) ; } return adminBuilder ; }
Get the Admin builder .