registerGlobally property
Controls whether the generated mapper should be registered globally
in the initRdfMapper function.
When true (default), the mapper is registered globally and can be used by any
class in your application. Use this for standard resources that are accessed
throughout your application.
When false, the mapper is not registered globally and is only used within
the context where it's needed. Use this when:
- The mapper has dependencies that are provided by parent objects via
@RdfProvides - The mapper is only used in specific contexts and shouldn't be generally available
- You want to prevent the mapper's dependencies from being required in
initRdfMapper
Implementation
final bool registerGlobally;