Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.nohope.test.glassfish.commands;
 
Date: 2/11/14 Time: 3:16 PM
 
 public class JNDICreateCommand extends Command {
    public JNDICreateCommand(final String typenamefinal String valuefinal String path) {
        super("create-custom-resource",
                new String[]{TStr.format("--restype={}"typename),
                "--factoryclass=org.glassfish.resources.custom.factory.PrimitivesAndStringFactory",
                "--property",
                TStr.format("value=\"{}\""value),
                path});
    }
New to GrepCode? Check out our FAQ X