public class GroovyConfig extends Object implements net.jini.config.Configuration, groovy.lang.GroovyObject
| Constructor and Description |
|---|
GroovyConfig(String gFile) |
GroovyConfig(String[] args,
ClassLoader loader) |
| Modifier and Type | Method and Description |
|---|---|
Object |
checkInputs(String... args) |
Object |
clear() |
String |
getComponentName(groovy.lang.MetaClass mc) |
Object |
getEntry(String component,
String name,
Class type) |
Object |
getEntry(String component,
String name,
Class type,
Object defaultValue) |
Object |
getEntry(String component,
String name,
Class type,
Object defaultValue,
Object data) |
groovy.lang.MetaClass |
getMetaClass() |
Object |
getPrimitiveType(Class type) |
Object |
getProperty(String property) |
Object |
invokeMethod(String method,
Object arguments) |
Object |
load(Class groovyClass) |
Object |
parseAndLoad(groovy.lang.GroovyCodeSource groovyCodeSource,
groovy.lang.GroovyClassLoader gcl) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
Object |
traverseInputs(String[] args,
ClassLoader loader) |
boolean |
validIdentifier(String name) |
boolean |
validQualifiedIdentifier(String name) |
public GroovyConfig(String gFile)
public GroovyConfig(String[] args, ClassLoader loader)
public groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObjectpublic Object invokeMethod(String method, Object arguments)
invokeMethod in interface groovy.lang.GroovyObjectpublic Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObjectpublic void setProperty(String property, Object value)
setProperty in interface groovy.lang.GroovyObjectpublic Object traverseInputs(String[] args, ClassLoader loader)
public Object clear()
public Object parseAndLoad(groovy.lang.GroovyCodeSource groovyCodeSource, groovy.lang.GroovyClassLoader gcl)
public String getComponentName(groovy.lang.MetaClass mc)
public Object getEntry(String component, String name, Class type)
getEntry in interface net.jini.config.Configurationpublic Object getEntry(String component, String name, Class type, Object defaultValue)
getEntry in interface net.jini.config.Configurationpublic Object getEntry(String component, String name, Class type, Object defaultValue, Object data)
getEntry in interface net.jini.config.Configurationpublic boolean validIdentifier(String name)
public boolean validQualifiedIdentifier(String name)
Copyright © 2016–2018. All rights reserved.