public class ResourceServerAdapter extends Object implements ResourceServer, CachedModel<ResourceServer>
| Modifier and Type | Field and Description |
|---|---|
protected CachedResourceServer |
cached |
protected StoreFactoryCacheSession |
cacheSession |
protected boolean |
invalidated |
protected ResourceServer |
updated |
| Constructor and Description |
|---|
ResourceServerAdapter(CachedResourceServer cached,
StoreFactoryCacheSession cacheSession) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
long |
getCacheTimestamp() |
DecisionStrategy |
getDecisionStrategy() |
ResourceServer |
getDelegateForUpdate() |
String |
getId() |
PolicyEnforcementMode |
getPolicyEnforcementMode() |
int |
hashCode() |
void |
invalidate() |
protected void |
invalidateFlag() |
boolean |
isAllowRemoteResourceManagement() |
protected boolean |
isUpdated() |
void |
setAllowRemoteResourceManagement(boolean allowRemoteResourceManagement) |
void |
setDecisionStrategy(DecisionStrategy decisionStrategy) |
void |
setPolicyEnforcementMode(PolicyEnforcementMode enforcementMode) |
protected CachedResourceServer cached
protected StoreFactoryCacheSession cacheSession
protected ResourceServer updated
protected boolean invalidated
public ResourceServerAdapter(CachedResourceServer cached, StoreFactoryCacheSession cacheSession)
public ResourceServer getDelegateForUpdate()
getDelegateForUpdate in interface CachedModel<ResourceServer>protected void invalidateFlag()
public void invalidate()
invalidate in interface CachedModel<ResourceServer>public long getCacheTimestamp()
getCacheTimestamp in interface CachedModel<ResourceServer>protected boolean isUpdated()
public String getId()
getId in interface ResourceServerpublic boolean isAllowRemoteResourceManagement()
isAllowRemoteResourceManagement in interface ResourceServerpublic void setAllowRemoteResourceManagement(boolean allowRemoteResourceManagement)
setAllowRemoteResourceManagement in interface ResourceServerpublic PolicyEnforcementMode getPolicyEnforcementMode()
getPolicyEnforcementMode in interface ResourceServerpublic void setPolicyEnforcementMode(PolicyEnforcementMode enforcementMode)
setPolicyEnforcementMode in interface ResourceServerpublic DecisionStrategy getDecisionStrategy()
getDecisionStrategy in interface ResourceServerpublic void setDecisionStrategy(DecisionStrategy decisionStrategy)
setDecisionStrategy in interface ResourceServerCopyright © 2019 JBoss by Red Hat. All rights reserved.