question: public void deployEndpoints ( ) throws IOException { if ( log != null ) { log . info ( "API Gateway deployment is being initialized." ) ; } List < Resource > resources = getResources ( ) ; if ( log != null ) { log . info ( resources . size ( ) + " resources found in JAR File." ) ; } createOrUpdateApi ( ) ; walkThroughResources ( resources ) ; createDeployment ( ) ; }
target:  This method scans the compiled JAR package for JAX-RS Annotations and create API Gateway endpoints.