ComponentName name = ComponentName.getComponentName(componentPath);
ComponentName[] subNames = name.getSubNames();
GenericContext[] contexts = new GenericContext[subNames.length - 1];
contexts[0] = nucleus;
for (int i = 1; i < subNames.length - 1; i++) {
contexts[i] = new GenericContext();
// Make sure it's not there
GenericContext tmpContext = (GenericContext) contexts[i
- 1].getElement(subNames[i].getName());
if (tmpContext == null) {
contexts[i - 1].putElement(subNames[i].getName(), contexts[i]);
}
else {