public Collection < ServiceReference > serviceReferences ( ) { return serviceRegistrations . stream ( ) . flatMap ( sr -> sr . methods ( ) . stream ( ) . map ( sm -> new ServiceReference ( sm , sr , this ) ) ) . collect ( Collectors . toList ( ) ) ; }
Creates collection of service references from this service endpoint .