private void checkMultipleInitEnabled()

in knative-build/runtimes/java/core/java8/proxy/src/main/java/org/apache/openwhisk/runtime/java/action/Proxy.java [63:74]


    private void checkMultipleInitEnabled() {
        String strMultipleInit = System.getenv("OW_ALLOW_MULTIPLE_INIT");
        System.out.printf("OW_ALLOW_MULTIPLE_INIT=%s\n", strMultipleInit);

        // Determine if we allow multiple "init" calls (i.e., Java container reuse); default:false
        if(strMultipleInit!=null)
            this.allowMultipleInits = Boolean.parseBoolean(strMultipleInit);

        if(this.allowMultipleInits){
            System.out.println("Multiple '/init' allowed.");
        }
    }