final public boolean isSingleServer ( ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "isSingleServer" ) ; if ( ! _singleServerSet ) { JsAdminService service = JsMainAdminComponentImpl . getJsAdminService ( ) ; if ( service . isInitialized ( ) ) _isSingleServer = service . isStandaloneServer ( ) ; else // If admin service isn't initialised, then assume we are single // service. _isSingleServer = true ; _singleServerSet = true ; } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "isSingleServer" , new Boolean ( _isSingleServer ) ) ; return _isSingleServer ; }
Returns whether the ME is running as part of a stand alone server .