@Vetoed @ApplicationScoped public class ParametersFactory extends java.lang.Object
| Constructor and Description |
|---|
ParametersFactory() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getArgs()
Producer method for the injectable command line args.
|
java.lang.String[] |
getArgsAsArray()
Producer method for the injectable command line args.
|
void |
setArgs(java.lang.String[] args)
StartMain passes in the command line args here.
|
@Produces public java.util.List<java.lang.String> getArgs()
@Produces public java.lang.String[] getArgsAsArray()
public void setArgs(java.lang.String[] args)
args - The command line arguments. If null is given then an empty
array will be used instead.Copyright © 2015. All Rights Reserved.