public List < ModelServiceInstance > getAllInstances ( ) { List < ModelServiceInstance > result = Collections . emptyList ( ) ; try { result = getDirectoryServiceClient ( ) . getAllInstances ( ) ; } catch ( ServiceException se ) { LOGGER . error ( "Error when getAllInstances()" , se ) ; } return result ; }
Get All ModelServiceInstance on the Directory Server .