resource scope is used during setting delegate creation (java classes
will not be loaded as resources this way)