MCPcopy Create free account
hub / github.com/akeranen/the-one / createIntializedObject

Method createIntializedObject

core/Settings.java:750–755  ·  view source on GitHub ↗

Creates (and dynamically loads the class of) an object that initializes itself using the settings in this Settings object (given as the only parameter to the constructor). @param className Name of the class of the object @return Initialized object @throws SettingsError if object couldn't be created

(String className)

Source from the content-addressed store, hash-verified

748 * @throws SettingsError if object couldn't be created
749 */
750 public Object createIntializedObject(String className) {
751 Class<?>[] argsClass = {Settings.class};
752 Object[] args = {this};
753
754 return loadObject(className, argsClass, args);
755 }
756
757 /**
758 * Creates (and dynamically loads the class of) an object using the

Callers 5

createHostsMethod · 0.95
EventQueueHandlerMethod · 0.95
setUpUsingMethod · 0.80
testMapCacheMethod · 0.80

Calls 1

loadObjectMethod · 0.95

Tested by 3

setUpUsingMethod · 0.64
testMapCacheMethod · 0.64