Annotation Interface SystemPersistence
@Target({TYPE,METHOD,PARAMETER,FIELD})
@Retention(RUNTIME)
@Documented
@Qualifier
public @interface SystemPersistence
Qualifier for system-level
Persistence instance against the system realm needed for realm management.
The qualified Persistence instance has a functional IdGenerator, enabled via a
valid node lease.
A system-realm Persistence instance can be @Injected as an @ApplicationScoped bean using
@ApplicationScoped
class MyBean {
@Inject @SystemPersistence Persistence systemPersistence;
}
- See Also:
-
Nested Class Summary
Nested Classes