private TreeBuilder < T > listen ( Listener < T > listener , String resourceSelector ) { return TreeBuilder . < T > builder ( new ListenerTree < T > ( build ( ) , listener , PathUtil . < T > resourceSelector ( resourceSelector ) ) ) ; }
Listen to events on selective resources of the tree