Class<?> type = property.getType();
assert type != null : "property type is null";
String text = reader.getElementText();
try {
Context context = new InitialContext();
return new JNDIObjectFactory(context, text);
} catch (NamingException e) {
throw new ConfigurationLoadException(e);
}
}