public static void run ( ExampleProperties props ) throws IOException , ResourceNotFoundException , ForbiddenUserException , FailedRequestException { System . out . println ( "example: " + BatchManagerExample . class . getName ( ) ) ; installResourceExtension ( props . host , props . port , props . adminUser , props . adminPassword , props . authType ) ; useResource ( props . host , props . port , props . writerUser , props . writerPassword , props . authType ) ; tearDownExample ( props . host , props . port , props . adminUser , props . adminPassword , props . authType ) ; }
install and then use the resource extension