public class YObjectLoader<T> extends Object
| Constructor and Description |
|---|
YObjectLoader() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
loadObject(Map<String,Object> conf)
loads an object defined like this:
class: org.yamcs....
|
static <T> T |
loadObject(Map<String,Object> conf,
Object firstArg)
same as the method above but loads a constructor with the firstArg as the first argument
|
static <T> T |
loadObject(Map<String,Object> conf,
Object firstArg,
Object secondArg)
same as the method above but loads a constructor with firstArg and secondArg as the first two arguments
|
static <T> T |
loadObject(String className,
Object... args)
Loads classes defined in the yamcs server or client configuration properties
|
public static <T> T loadObject(String className, Object... args) throws ConfigurationException, IOException
className - args - ConfigurationExceptionIOExceptionpublic static <T> T loadObject(Map<String,Object> conf) throws ConfigurationException, IOException
conf - IOExceptionConfigurationExceptionpublic static <T> T loadObject(Map<String,Object> conf, Object firstArg) throws ConfigurationException, IOException
conf - firstArg - ConfigurationExceptionIOExceptionpublic static <T> T loadObject(Map<String,Object> conf, Object firstArg, Object secondArg) throws ConfigurationException, IOException
conf - firstArg - secondArg - ConfigurationExceptionIOExceptionCopyright © 2018 Space Applications Services. All rights reserved.