public static svcbindings [ ] get ( nitro_service service , String servicename [ ] ) throws Exception { if ( servicename != null && servicename . length > 0 ) { svcbindings response [ ] = new svcbindings [ servicename . length ] ; svcbindings obj [ ] = new svcbindings [ servicename . length ] ; for ( int i = 0 ; i < servicename . length ; i ++ ) { obj [ i ] = new svcbindings ( ) ; obj [ i ] . set_servicename ( servicename [ i ] ) ; response [ i ] = ( svcbindings ) obj [ i ] . get_resource ( service ) ; } return response ; } return null ; }
Use this API to fetch svcbindings resources of given names .