XSimpleRegistry xSimpleRegistry = null;
try {
xSimpleRegistry = (XSimpleRegistry) args[0];
if (xSimpleRegistry != null)
{
XRegistryKey rootkey = xSimpleRegistry.getRootKey();
XRegistryKey implkey_xRegistryKey = rootkey.openKey("Implementations");
if(implkey_xRegistryKey != null) {
XRegistryKey xRegistryKeys[] = implkey_xRegistryKey.openKeys();
for(int i = 0; i < xRegistryKeys.length; ++ i) {
xaddFactories(new String[]{xRegistryKeys[i].getStringValue()});
}
}