Class JavaClassProperties
- java.lang.Object
-
- org.identityconnectors.framework.impl.api.local.JavaClassProperties
-
public class JavaClassProperties extends Object
Class for translating from a Java class to ConfigurationProperties and from ConfigurationProperties to a java class.
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
GROOVY_LANG_GROOVY_OBJECT
-
Constructor Summary
Constructors Constructor Description JavaClassProperties()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Configuration
createBean(ConfigurationPropertiesImpl properties, Class<? extends Configuration> configClass)
Given a configuration class and populated properties, creates a bean for it.static ConfigurationPropertiesImpl
createConfigurationProperties(Configuration config)
Given a configuration class, creates the configuration properties for it.static void
mergeIntoBean(ConfigurationPropertiesImpl properties, Configuration config)
Given a configuration bean and populated properties, merges the properties into the bean.
-
-
-
Field Detail
-
GROOVY_LANG_GROOVY_OBJECT
protected static final String GROOVY_LANG_GROOVY_OBJECT
- See Also:
- Constant Field Values
-
-
Method Detail
-
createConfigurationProperties
public static ConfigurationPropertiesImpl createConfigurationProperties(Configuration config)
Given a configuration class, creates the configuration properties for it.
-
createBean
public static Configuration createBean(ConfigurationPropertiesImpl properties, Class<? extends Configuration> configClass)
Given a configuration class and populated properties, creates a bean for it.
-
mergeIntoBean
public static void mergeIntoBean(ConfigurationPropertiesImpl properties, Configuration config)
Given a configuration bean and populated properties, merges the properties into the bean.
-
-