public ServiceRefAmp getLocalService ( ) { ServiceRefAmp serviceRefRoot = _podRoot . getLocalService ( ) ; //ServiceRefAmp serviceRefRoot = _podRoot.getClientService(); if ( serviceRefRoot == null ) { return null ; } ServiceRefActive serviceRefLocal = _serviceRefLocal ; if ( serviceRefLocal != null ) { ServiceRefAmp serviceRef = serviceRefLocal . getService ( serviceRefRoot ) ; if ( serviceRef != null ) { return serviceRef ; } } ServiceRefAmp serviceRef = serviceRefRoot . onLookup ( _path ) ; _serviceRefLocal = new ServiceRefActive ( serviceRefRoot , serviceRef ) ; // serviceRef.start(); return serviceRef ; }
Returns the active service for this pod and path s hash .