...
Code Block | ||||
---|---|---|---|---|
| ||||
new MetaDataKey<ActionPermissions>() { }; |
IResourceFinder
The interface has been slightly changed. A class parameter has been added to find() and the value returned must now be an IResourceStream instead of an URL.
ResourceStreamLocator
IResourceStreamLocator and all its implementations are gone and have been replaced by a single IResourceStreamFactory and its default implementation ResourceStreamFactory. In order to change or extend the default behaviour you may subclass the default implementation and register it with the application (resource settings) as usual. OsgiResourceStreamFactory (core) and CustomResourceStreamFactory (examples) are two examples which show how do it.
Note that resource finder (IResourceFinder implementations) are still being used. This detail has not been changed.