Skip to content
Snippets Groups Projects
Commit 6da410aa authored by brinn's avatar brinn
Browse files

add: method JythonObjectFactory.getClass(String)

SVN: 22332
parent 274e347b
No related branches found
No related tags found
No related merge requests found
...@@ -301,6 +301,20 @@ public class JythonTopLevelDataSetHandler<T extends DataSetInformation> extends ...@@ -301,6 +301,20 @@ public class JythonTopLevelDataSetHandler<T extends DataSetInformation> extends
{ {
return createDataSetRegistrationDetails(); return createDataSetRegistrationDetails();
} }
/**
* Returns the Java class for the given class name.
*/
public Class<?> getClass(String className)
{
try
{
return Class.forName(className);
} catch (ClassNotFoundException ex)
{
return null;
}
}
} }
protected static class JythonDataSetRegistrationService<T extends DataSetInformation> extends protected static class JythonDataSetRegistrationService<T extends DataSetInformation> extends
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment