public interface StoreFactory extends Provider
A factory for the different types of storages that manage the persistence of the domain model types.
Implementations of this interface are usually related with the creation of those storage types accordingly with a specific persistence mechanism such as relational and NoSQL databases, filesystem, etc.
Modifier and Type | Method and Description |
---|---|
PermissionTicketStore |
getPermissionTicketStore()
Returns a
PermissionTicketStore . |
PolicyStore |
getPolicyStore()
Returns a
PolicyStore . |
ResourceServerStore |
getResourceServerStore()
Returns a
ResourceServerStore . |
ResourceStore |
getResourceStore()
Returns a
ResourceStore . |
ScopeStore |
getScopeStore()
Returns a
ScopeStore . |
boolean |
isReadOnly()
Indicates if instances returned from storage are read-only.
|
void |
setReadOnly(boolean readOnly)
Sets whether or not changes to instances returned from this factory are supported.
|
ResourceStore getResourceStore()
ResourceStore
.ResourceServerStore getResourceServerStore()
ResourceServerStore
.ScopeStore getScopeStore()
ScopeStore
.PolicyStore getPolicyStore()
PolicyStore
.PermissionTicketStore getPermissionTicketStore()
PermissionTicketStore
.void setReadOnly(boolean readOnly)
IllegalStateException
.readOnly
- if true, changes are not supportedboolean isReadOnly()
Copyright © 2020 JBoss by Red Hat. All rights reserved.