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