Details
-
Improvement
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
-
None
-
All
Description
Looking at the following code, the schema path is hardcoded, which means that plugins need to change this code everytime to load their schemas. Tuscany should allow plugins to point to their schemas without modifying this code
// Allow privileged access to load resource. Requires RuntimePermssion in security policy.
URL schemaURL = AccessController.doPrivileged(new PrivilegedAction<URL>() {
public URL run()
});
Loading schemas should be an extension point.